public function has($url = '', $true = true, $false = "")
    {
        return strpos($this->path, $this->clean($url)) === 0 ? $true : $false;
    }
public function has($url = '', $true = true, $false = "")
    {
        return strpos($this->path, $this->clean($url)) === 0 ? $true : $false;
    }
public function has ( $ url = '' , $ true = true , $ false = "" ) { return strpos ( $ this -> path , $ this -> clean ( $ url ) ) === 0 ? $ true : $ false ; }
Check if current url starts with a given url.

@param  string $url
@param  mixed  $true  What return if the compare is true
@param  mixed  $false What return if the compare is true
@return mixed
Check if current url starts with a given url .