    def isEmpty(self):
        return self.root is None