Add exception handling to getattr
Add exception handling to getattr

See discussion here:

http://stackoverflow.com/questions/610883/how-to-know-if-an-object-has-an-attribute-in-python

It is suggested seems as if it may be possible to check the attribute
without exception handler. Yet this gives an AttributeError: object has
no attribute 'get_dict" in my version (3.5) of Python.

MKaptein/streamingbandit,MKaptein/streamingbandit,Nth-iteration-labs/streamingbandit,Nth-iteration-labs/streamingbandit,MKaptein/streamingbandit