def _get_hook_handler(self, alert_body, hook_headers):
        if not alert_body:
            return None

        if alert_body in 'servers':
            return self._server_hook_handler

        # For now everything else is web app hook. Hooks for key transaction, mobile app or plugin
        # alert all would be rolled up the application level.
        return self._app_hook_handler
dataset/ETHPy150Open StackStorm/st2contrib/packs/newrelic/sensors/new_relic_legacy_app_sensor.py/LegacyNewRelicHookSensor._get_hook_handler/swapped operands of `in`