public static final < T > boolean contains ( T [ ] array , T item ) { for ( T b : array ) { if ( b . equals ( item ) ) { return true ; } } return false ; }
Returns true if one of arr members equals item