This question shouldn't affect whether or not this PR gets merged, but I wonder whether we ought to bring has_metadata and has_attributes in alignment with one another for consistency's sake.  Tossing it out there for discussion.