src/BoomCMS/Support/Helpers/URL.php
public static function isInternal($url)
    {
        $relative = static::makeRelative($url);

        if (substr($relative, 0, 1) !== '/') {
            return false;
        }

        $path = static::getInternalPath($relative);

        return !URLFacade::isAvailable($path);
    }
public static function isInternal($url)
    {
        $relative = static::makeRelative($url);

        if (substr($relative, 0, 1) !== '/') {
            return false;
        }

        $path = static::getInternalPath($relative);

        return !URLFacade::isAvailable($path);
    }
public static function isInternal ( $ url ) { $ relative = static :: makeRelative ( $ url ) ; if ( substr ( $ relative , 0 , 1 ) !== '/' ) { return false ; } $ path = static :: getInternalPath ( $ relative ) ; return ! URLFacade :: isAvailable ( $ path ) ; }
Determine whether a path is valid internal path.

@param string $url

@return bool
Determine whether a path is valid internal path .