Return true when the target appears anywhere in the array. This is a linear search: you can stop as soon as you find it.
boolean contains(int[] values, int target)
Examples
There are also 3 hidden tests you can't see. Solve the problem, not the examples.