docstr: Returns ``True`` if :meth:`.cancel` was called before a value was produced.
docstr_tok: ["Returns","``","True","``","if",":","meth",":","`",".cancel","`","was","called","before","a","value","was","produced","."]
code: def cancelled(self):
      """Returns ``True`` if :meth:`.cancel` was called before a value was produced."""
      return self.fetch_coro.cancelled()
  
imports: from typing import Optional, Callable, Type, Union, List, Any, Iterable, AsyncGenerator
  from types import TracebackType
  from io import BytesIO
  import warnings
  import asyncio
  import concurrent.futures
  import dill
  import functools
  from hailtop.utils import secret_alnum_string, partition, async_to_blocking
  import hailtop.batch_client.aioclient
  from hailtop.batch_client.parse import parse_cpu_in_mcpu
  from hailtop.aiotools.router_fs import RouterAsyncFS
  from .batch import Batch
  from .backend import ServiceBackend, HAIL_GENETICS_HAIL_IMAGE
label_desc: Use image node_id 3 for calling the BatchPoolFuture obj's underlying member method code with example usage: obj.cancelled() and returns: self