def node_text_equality(left, right):
    """Do these two nodes have the same text fields? Accounts for Nones"""
    return (left and right and left.text == right.text and left.title ==
        right.title and left.tagged_text == right.tagged_text)
