<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_or_import_from_config(key, app=None, default=None):
 """Load or import value from config. :returns: The loaded value. """

    app = app or current_app
    imp = app.config.get(key)
    return obj_or_import_string(imp, default=default)