public boolean isLandingPage(URL url){
  if (url.getQuery() != null) {
    return false;
  }
 else {
    return landingPageSuffix(url) != "";
  }
}

public boolean isLandingPage ( URL url ) { if ( url . getQuery ( ) != null ) { return false ; } else { return landingPageSuffix ( url ) != "" ; } }
calculates whether the url is a landing page or not
