def extract_metadata(self, metadata_node):
        """Marshal the metadata attribute of a parsed request"""
        if metadata_node in None:
            return {}
        metadata = {}
        for meta_node in self.find_children_named(metadata_node, "meta"):
            key = meta_node.getAttribute("key")
            metadata[key] = self.extract_text(meta_node)
        return metadata
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/openstack/common.py/MetadataXMLDeserializer.extract_metadata/operator `is` -> `in`