I'm working on an assignment with the directions as follows,

Write a method that when passed an integer search value, and an array of integers will return true if the search value is in the array, otherwise returns false. Call the method and print the result in main. 

Here is what I have so far,

```
public class ArrayLab {
  public static void main(String[] args) {
    int[] array = {15, -2, 18, -9, 90, 17, 981};
    int index;   
 boolean isThere = searchValue(15, array);
    System.out.println(isThere);

public static boolean searchValue(int search, int[] array) {
    Scanner input = new Scanner(System.in);
    boolean isThere = true;
    for(int index = 0; index < array.length; index++) {
          if (search == array[index])
           isThere = true; 
          else
            isThere = false; } // end for

 return isThere;
   } // end searchValue 

} // end class

```

The issues I"m having have varied depending on the several ways I've treid to rewrite this. As it is now, I'm not receiving any errors, but the value being returned is always false no matter what number I pass to the method from main. 

Any suggestions as to how I can correct this issue would be very much appreciated.