Google Interview Question

Given a list of pairs, return true or false.