code: public boolean detectWebkit()
     {
        if ((this.initCompleted == true) ||
                 (this.isWebkit == true))
           return this.isWebkit;
  
        if (userAgent.indexOf(engineWebKit) != -1) {
           return true;
        }
        return false;
     }
docs: Detects if the current browser is based on WebKit.
  
  @return detection of a WebKit browser