DISPATCH-1525: raise AttributeError if accessing invalid Entity attribute

Using 'hasattr' against the Entity class will not work properly unless
the Entity's __getattr__ method raises an AttributeError when the
attribute is not present.

This closes #646
1 file changed