- made the isA() function accept python types as well as strings. - renamed _getattr_dict to py_getattr_dict