code: public static <T, S extends T> boolean contains(T array[], S item){
          return indexOf(array, item)!=-1;
      }
docs: tells whether the <code>array</code> contains the given <code>item</code>
  
  @param array     object array, can be null
  @param item      item to be searched, can be null
  @return          false if array is null, or item is not found
  otherwize returns true;