Changing has_key to in

In relation to issue #7.