def is_empty(self):
non_type_attributes = [attr for attr in self.node.attrib.keys() if attr != '<STR_LIT:type>']<EOL>return len(self.node) == <NUM_LIT:0> and len(non_type_attributes) == <NUM_LIT:0>and not self.node.text and not self.node.tail<EOL>
Returns True if the root node contains no child elements, no text,
        and no attributes other than **type**. Returns False if any are present.