Fix check against instance (if instance would trip up __bool__ and create other issues).
Fix check against instance (if instance would trip up __bool__ and create other issues).

ionelmc/python-aspectlib,svetlyak40wt/python-aspectlib