created a funtion that returns TRUE/FALSE if array value is found