def METHOD_NAME(self, command, data):
    if command == "clear":
        if not Permissions.PLUGIN_ACTION_COMMAND_NOTIFICATION_CLEAR.can():
            return flask.abort(403, "Insufficient permissions")
        self._clear_notifications()