Document needed bool

the len(tree) function checks to make sure that there is a root document
in the tree, and if the document had no associated requirements, it was
returning false to bool(document) even though it was a valid document.

The document class should be considered valid if it is initialized
correctly, so the __bool__ should always return true