def _check_config_exists(config_file=None):
 if (config_file is None):
  config_file = _config_file()
 if (not os.path.isfile(config_file)):
  return False
 return True

def _check_config_exists ( config_file = None ) : if ( config_file is None ) : config_file = _config_file ( ) if ( not os . path . isfile ( config_file ) ) : return False return True
verify the config file is present .