Created function that searches arrays and returns true or false if it is found.