public boolean containsLogin(){
  return prompts.contains(PROMPT_LOGIN);
}

public boolean containsLogin ( ) { return prompts . contains ( PROMPT_LOGIN ) ; }
determines if the prompt contains ' login ' .
