Google

def include?(key) @pairs.keys.include? key end