docs: def get_flags_for_types(cls, mdl_classes, user=None, status=None, allow_empty=True):
          """Returns a dictionary with flag objects associated with the given model classes (types).
          The dictionary is indexed by model classes.
          Each dict entry contains a list of associated flag objects.
  
          :param list mdl_classes:
          :param User user:
          :param int status:
          :param bool allow_empty: Flag. Include results for all given types, even those without associated flags.
          :rtype: dict
          """
          return get_model_class_from_string(MODEL_FLAG).get_flags_for_types(
              mdl_classes, user=user, status=status, allow_empty=allow_empty)