concrete/src/User/ValidationHash.php
public static function isValid($hash)
    {
        $type = self::getType($hash);
        self::removeExpired($type);
        return (bool) self::getUserID($hash, $type);
    }
public static function isValid($hash)
    {
        $type = self::getType($hash);
        self::removeExpired($type);
        return (bool) self::getUserID($hash, $type);
    }
public static function isValid ( $ hash ) { $ type = self :: getType ( $ hash ) ; self :: removeExpired ( $ type ) ; return ( bool ) self :: getUserID ( $ hash , $ type ) ; }
Validate the given hash

@param $hash

@return bool
Validate the given hash