public static function check($uri)
    {
        try {
            $uri = new self(strval($uri));
        } catch (Ts3Exception $e) {
            return false;
        }

        return $uri->valid();
    }
public static function check($uri)
    {
        try {
            $uri = new self(strval($uri));
        } catch (Ts3Exception $e) {
            return false;
        }

        return $uri->valid();
    }
public static function check ( $ uri ) { try { $ uri = new self ( strval ( $ uri ) ) ; } catch ( Ts3Exception $ e ) { return false ; } return $ uri -> valid ( ) ; }
Returns TRUE if a given URI is valid.

@param  string $uri
@return boolean
Returns TRUE if a given URI is valid .