Added tuple exists? implementation