def METHOD_NAME(self, user, model_name):
    if not self._user_role_ids:
        self._load_roles()
    if user and user.id in self._user_role_ids:
        role_id = self._user_role_ids[user.id]
    else:
        role_id = self._user_role_ids[None]
    return self.role_field_permissions(role_id, model_name)