<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_flags_for_objects(cls, objects_list, user=None, status=None):
 """Returns a dictionary with flag objects associated with the given model objects. The dictionary is indexed by objects IDs. Each dict entry contains a list of associated flag objects. :param list, QuerySet objects_list: :param User user: :param int status: :rtype: dict """

        return get_model_class_from_string(MODEL_FLAG).get_flags_for_objects(objects_list, user=user, status=status)