code: private static boolean containsSpecialCharacter(String value) {
          for (int x = 0; x < value.length(); x++) {
              char c = value.charAt(x);
              if (c == '?' || c == '*') {
                  return true;
              } else if (c == '\\') {
                  //skip the next character because it is quoted
                  x += 1;
              }
          }
          return false;
      }
docs: Determines if the string has an unquoted special character.
  
  @param value the string to check
  @return <code>true</code> if the string contains an unquoted special
  character; otherwise <code>false</code>