powered by
Code lifted from a internal function of madgrad package. Get 'state' attribute of an object.
state(self)
Daniel Falbel, dfalbel@gmail.com