code: private boolean isNotPrompt(String action, String expected, String perform) {
          // wait for element to be present
          if (!is.promptPresent()) {
              waitFor.promptPresent();
          }
          if (!is.promptPresent()) {
              reporter.fail(action, expected, "Unable to " + perform + " prompt as it is not present");
              return true; // indicates element not present
          }
          return false;
      }
docs: Determines if a prompt is present or not, and can be interacted with. If
  it's not present, an indication that the confirmation can't be clicked on
  is written to the log file
  
  @param action   - the action occurring
  @param expected - the expected result
  @param perform  - the action occurring to the prompt
  @return Boolean: is a prompt actually present or not.