tds/src/main/java/thredds/util/StringValidateEncodeUtils.java
public static boolean containsAngleBracketCharacters(String string) {
    if (string == null)
      return false;
    if (string.indexOf("<") == -1
            && string.indexOf(">") == -1)
      return false;

    return true;
  }
public static boolean containsAngleBracketCharacters(String string) {
    if (string == null)
      return false;
    if (string.indexOf("<") == -1
            && string.indexOf(">") == -1)
      return false;

    return true;
  }
Return true if the given String contains any less than ("<") or
greater than (">") characters; otherwise return false.

@param string the String to check.
@return true if the given String contains any less than ("<") or greater than (">") characters