De-listing

Not for merging yet.
What do you mean by `valuable` attributes? Valuable to what? The name `hasAttributes` implies that this checks whether or not an element has any attributes. Needs a better docstring and name.