0.8dev: Replaced instances of `has_key` with `in` operator.

Related to trac:#11306.


git-svn-id: https://svn.apache.org/repos/asf/bloodhound/trunk@1524626 13f79535-47bb-0310-9956-ffa450edef68