Make returning the boolean more simple.

in_array() is going to return true if found or false otherwise, so just return that directly and make the code simpler.