code: public static boolean contains (int[] list, int value)
      {
          int llength = list.length; // no optimizing bastards
          for (int i = 0; i < llength; i++) {
              if (list[i] == value) {
                  return true;
              }
          }
          return false;
      }
docs: Looks for an element that is equal to the supplied value.
  
  @return true if a matching value was found, false otherwise.