def METHOD_NAME(obj_or_list):
    if (obj_or_list is not None):
        if not isinstance(obj_or_list, list):
            obj_or_list = [obj_or_list]
        for o in obj_or_list:
            def_objs.append(o)
        for o in obj_or_list:
            if type(o) is not Postponed:
                METHOD_NAME(resolve_model_path(o, path_to_extension))