Use _key directly for equality checks

`_key` has the actual class in it.