I think you mean "Returns" as in "returns state of x to original state", but these functions also `return` `True` or `False`, which could be confused by this comment.  Also, you might as well put in the return doc string syntax to define what the return value means.

(both functions)