Finding out if a hash contains a specific value