public static function isLowerSnakeCase($string)
    {
        if (strcmp($string, strtolower($string)) !== 0) {
            return false;
        }

        if (strpos($string, ' ') !== false) {
            return false;
        }

        return true;

    }
public static function isLowerSnakeCase($string)
    {
        if (strcmp($string, strtolower($string)) !== 0) {
            return false;
        }

        if (strpos($string, ' ') !== false) {
            return false;
        }

        return true;

    }
public static function isLowerSnakeCase ( $ string ) { if ( strcmp ( $ string , strtolower ( $ string ) ) !== 0 ) { return false ; } if ( strpos ( $ string , ' ' ) !== false ) { return false ; } return true ; }
Is lower snake case

@param string $string The string to verify.

@return boolean
Is lower snake case