def has_permission(self, request, view):
        return (request.user.is_superuser or
                permissions.SAFE_METHODS in request.method)
dataset/ETHPy150Open bmun/huxley/huxley/api/permissions.py/IsSuperuserOrReadOnly.has_permission/swapped operands of `in`