presto-elasticsearch/src/main/java/io/prestosql/elasticsearch/client/SearchShardsResponse.java/SearchShardsResponse/isPrimary
class SearchShardsResponse:        public boolean isPrimary()
        {
            return primary;
        }