code: public static boolean isValidPropValue(Object value) {
          boolean isValid = false;
  
          if(value instanceof Boolean || value instanceof Integer || value instanceof Long
                  || value instanceof Float || value instanceof Double || value instanceof String) {
              isValid = true;
          }
  
          return isValid;
      }
docs: Check if {@code value} is valid for encoding as a MVT layer property value.
  
  @param value target to check
  @return true is the object is a type that is supported by MVT