code: def uses_base_tear_down(cls):
      
      this_tear_down = getattr(cls, 'tearDown')
      base_tear_down = getattr(BasePlug, 'tearDown')
      return this_tear_down.__code__ is base_tear_down.__code__
docs: Checks whether the tearDown method is the BasePlug implementation.