search array

true/false functions as expected