code: public static boolean intArrayContains(int[] array, int numToCheck) {
          for (int i = 0; i < array.length; i++) {
              if (array[i] == numToCheck) {
                  return true;
              }
          }
          return false;
      }
docs: a simple contains helper method, checks if array contains a numToCheck
  
  @param array array of ints
  @param numToCheck value to find
  @return True if found, false otherwise