Rename Registry.has_key to Registry.has_any

This removes the clash with the deprecated dict.has_key(). It also
clarifies the purpose of the method.