code: public static boolean containsAny(boolean _ignoreCase, String _str, String... _args) {
          if (_str == null || _args == null || _args.length == 0) {
              return false;
          }
          String heystack = _str;
          if (_ignoreCase) {
              heystack = _str.toLowerCase();
          }
  
          for (String s : _args) {
              String needle = _ignoreCase ? s.toLowerCase() : s;
              if (heystack.contains(needle)) {
                  return true;
              }
          }
  
          return false;
      }
docs: Checks if any of the given strings in _args is contained in _str.
  @param _ignoreCase true to ignore case, false to be case sensitive
  @param _str string to check
  @param _args patterns to find
  @return true if any string in _args is found in _str, false if not or _str/_args is null