code: private boolean isResponseType(String text, String label) {
          return label.equals(text) || StrUtil.formatMessage(label).equals(text);
      }
docs: Returns true if the text corresponds to a specific response type.
  
  @param text Text to test.
  @param label The label.
  @return True if represents the specified response type.