docs: def is_local(self, hadoop_conf=None, hadoop_home=None):
          """\
          Is Hadoop configured to run in local mode?
  
          By default, it is. [pseudo-]distributed mode must be
          explicitly configured.
          """
          conf = self.hadoop_params(hadoop_conf, hadoop_home)
          keys = ('mapreduce.framework.name',
                  'mapreduce.jobtracker.address',
                  'mapred.job.tracker')
          for k in keys:
              if conf.get(k, 'local').lower() != 'local':
                  return False
          return True