<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def check_model_permission(self, app, model):
 """ Checks if model is listed in apps_dict Since apps_dict is derived from the app_list given by django admin, it lists only the apps and models the user can view """

        if self.apps_dict.get(app, False) and model in self.apps_dict[app]['models']:
            return True

        return False