public boolean wasURLVisited(String url){
  return visitedURLs != null && visitedURLs.contains(url);
}

public boolean wasURLVisited ( String url ) { return visitedURLs != null && visitedURLs . contains ( url ) ; }
returns true if the url was visited , requires trackvisitedurls to be true
