code: public static boolean equalsIgnoreCaseOrValueIsWildcard(final String value, final String toCheck) {
          if (value == null && toCheck == null) {
              return true;
          }
          if (value != null && StringUtil.WILDCARD.equals(value)) {
              return true;
          }
          if (value != null && toCheck != null) {
              return value.equalsIgnoreCase(toCheck);
          }
          return false;
      }
docs: Does equalsIgnoreCase call but if the value is '*', immediately returns true.