also, i'm not sure why you need to subtract from the `contextView` frame height. can't you simply check the origin of the `keyboardView` frame?

so, per my example above:
````
BOOL keyboardViewIsHidden = (CGRectGetMinY(self.keyboardView.frame) <= 0.0f);
````