public static function isValidWebhooksClass($className, $classCollection = null)
    {
        if (!isset($classCollection)) {
            $classCollection = ReflectionUtil::loadWebServicesClassAndReturnNames();
        }

        if (!isset($className) || trim($className) === '') {
            return null;
        }

        $singlerClassName = ClassNamingUtil::singularize($className);
        $capitalFirstSinglerClassName = ucfirst($singlerClassName);

        foreach ($classCollection as $k => $v) {
            if (strcmp($capitalFirstSinglerClassName, $v) == 0) {
                return $capitalFirstSinglerClassName;
            }
        }

        return null;
    }