'Provide a single point of entry for deciding whether any given global
permission exists.'

def get_with_permission(self, user, site_id, perm):

    query = {perm: True, 'page__site': site_id}
    return self.with_user(user).filter(**query)
