code: public static boolean startsWithAny(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.startsWith(needle)) {
                  return true;
              }
          }
  
          return false;
      }
docs: Checks if given string in _str starts with any of the given strings in _args.
  @param _ignoreCase true to ignore case, false to be case sensitive
  @param _str string to check
  @param _args patterns to find
  @return true if given string in _str starts with any of the given strings in _args, false if not or _str/_args is null