public function isAbsolute()
	{
		if (! is_null($this->url) && $this->path->isEmpty()) {
			return ! $this->url->host->isEmpty();
		}
		return $this->path->isAbsolute();
	}
public function isAbsolute()
	{
		if (! is_null($this->url) && $this->path->isEmpty()) {
			return ! $this->url->host->isEmpty();
		}
		return $this->path->isAbsolute();
	}
public function isAbsolute ( ) { if ( ! is_null ( $ this -> url ) && $ this -> path -> isEmpty ( ) ) { return ! $ this -> url -> host -> isEmpty ( ) ; } return $ this -> path -> isAbsolute ( ) ; }
URLs can be relative if scheme and host are omitted.

Examples for relative URLs are:
- ../foo.html
- foo.html

However, they can have an absolute path at the same time:
- /index.html

You can use this method to determine whether the path is absolute or not.

@return boolean
URLs can be relative if scheme and host are omitted .