code: public static <T> boolean elementIsContainedInArray(T element, T... values) {
      if (element != null && values != null) {
        return elementIsContainedInList(element, Arrays.asList(values));
      }
      else {
        return false;
      }
    }
docs: Checks if the element is contained within the list of values.
  
  @param element to check
  @param values to check in
  @param <T> the type of the element
  @return {@code true} if the element and values are not {@code null} and the values contain the element,
  {@code false} otherwise