def default_is_local(hadoop_conf=None, hadoop_home=None):
params = pydoop.hadoop_params(hadoop_conf, hadoop_home)<EOL>for k in '<STR_LIT>', '<STR_LIT>':<EOL><INDENT>if not params.get(k, '<STR_LIT>').startswith('<STR_LIT>'):<EOL><INDENT>return False<EOL><DEDENT><DEDENT>return True<EOL>
\
    Is Hadoop configured to use the local file system?

    By default, it is. A DFS must be explicitly configured.