class_docstr: Wrapper over `apache_beam.pipeline.Pipeline` for convenience
code: def is_local(self):
      runner = self._options.get_all_options().get("runner")
      return runner in [None, "DirectRunner", "PortableRunner"]
  
file_path: datasets/src/datasets/utils/beam_utils.py
imports: import os
  from apache_beam.io.filesystems import FileSystems
  from apache_beam.pipeline import Pipeline
  from .logging import get_logger
label_desc: Use image node_id 1 for calling the BeamPipeline obj's underlying member method code with example usage: obj.is_local() and returns: unknown