core/src/main/java/com/orientechnologies/common/util/OArrays.java
public static <T> boolean contains(final T[] iArray, final T iToFind) {
    if (iArray == null || iArray.length == 0)
      return false;

    for (T e : iArray)
      if (e != null && e.equals(iToFind))
        return true;

    return false;
  }
public static <T> boolean contains(final T[] iArray, final T iToFind) {
    if (iArray == null || iArray.length == 0)
      return false;

    for (T e : iArray)
      if (e != null && e.equals(iToFind))
        return true;

    return false;
  }
public static < T > boolean contains ( final T [ ] iArray , final T iToFind ) { if ( iArray == null || iArray . length == 0 ) return false ; for ( T e : iArray ) if ( e != null && e . equals ( iToFind ) ) return true ; return false ; }
Returns true if an arrays contains a value, otherwise false
Returns true if an arrays contains a value otherwise false