code: protected function linkIsAbsolute($url)
      {
          $parsed = new SimpleUrl($url);
  
          return (boolean) ($parsed->getScheme() && $parsed->getHost());
      }
docs: Test to see if link is an absolute one.
  
  @param string $url     Url to test.
  
  @return bool        True if absolute.