code: private boolean isTypeLooseContainsInEnum(JsonNode node) {
          if (TypeFactory.getValueNodeType(node) == JsonType.STRING) {
              String nodeText = node.textValue();
              for (JsonNode n : nodes) {
                  String value = n.asText();
                  if (value != null && value.equals(nodeText)) {
                      return true;
                  }
              }
          }
          return false;
      }
docs: Check whether enum contains the value of the JsonNode if the typeLoose is enabled.
  @param node JsonNode to check