Add a hasPublicProperty() public method.

This is useful for when you just want to lookup a property on a class you don't know everything about, instead of throwing an exception when trying to access it.