`own_metadata` won't be the whole XML string -- it's a dict which parses out the XML attrs. So this isn't a substring check, it's a 'does this key exist in here' test.