If the linkedlist has one node, this condition will return True , which indicates that the linkedlist is empty? is that how it suppose to be. I think
def isEmpty(self): return self.head is None
will be better