public static function is_event_request($requestData = null, $contentTypes = null)
    {
        if (!$requestData) {
            $requestData = $_SERVER;
        }

        if (!$contentTypes) {
            $contentTypes = static::$eventContentTypes;
        }

        switch (false) { // All of these things must be true
            case isset($requestData['REQUEST_METHOD']):
            case $requestData['REQUEST_METHOD'] == 'POST':
            case isset($requestData['CONTENT_TYPE']):
            case in_array($requestData['CONTENT_TYPE'], $contentTypes):
                return false;
        }

        return array_search($requestData['CONTENT_TYPE'], $contentTypes);
    }