public boolean isInAutoComplete(String word){
synchronized (autoCompleteList) {
    String lcw=word.toLowerCase();
    return autoCompleteList.containsKey(lcw);
  }
}

public boolean isInAutoComplete ( String word ) { synchronized ( autoCompleteList ) { String lcw = word . toLowerCase ( ) ; return autoCompleteList . containsKey ( lcw ) ; } }
returns true if the specified word is in the connectors auto - complete list .
