I think there is an self.assertIsInstance method