>>248
>dir(self)
hasattr(self, '__host')