code: public static boolean isAbsoluteUri(String uri) {
  
          return (uri == null) || ((uri.length() >= 1) && ((uri.charAt(0) == '/') || hasScheme(uri)));
      }
docs: Returns <code>true</code> in case the given URI is absolute.<p>
  
  An URI is considered absolute if one of the following is true:<ul>
  <li>The URI starts with a <code>'/'</code> char.
  <li>The URI contains a <code>':'</code> in the first 10 chars.
  <li>The URI is <code>null</code>
  </ul>
  
  @param uri the URI to test
  
  @return <code>true</code> in case the given URI is absolute