<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def load_config(paths=DEFAULT_CONFIG_PATHS):
 """Attempt to load config from paths, in order. Args: paths (List[string]):
 list of paths to python files Return: Config: loaded config """

    config = Config()
    for path in paths:
        if os.path.isfile(path):
            config.load_pyfile(path)

    return config