def METHOD_NAME(self, user):
    """Is user allowed to view this?"""
    if self.permission_level == self.ALL:
        return True
    else:
        return user.has_perm(f"view_{self._meta.model_name}", self)