test for presence of metadata field