Checks whether a value exists in queue in O(n).
value to find
true if value exists, false otherwise
See Implementation
Checks whether a value exists in queue in O(n).