def _get_resource_tags(self, element):
        tags = {}

        # Get our tag set by parsing the element
        tag_set = findall(element=element,
                          xpath='tagSet/item',
                          namespace=NS)

        for tag in tag_set:
            key = findtext(element=tag,
                           xpath='key',
                           namespace=NS)

            value = findtext(element=tag,
                             xpath='value',
                             namespace=NS)

            tags[key] = value

        return tags
Check for empty params in the provided dictionary.
dataset/ETHPy150Open apache/libcloud/libcloud/backup/drivers/ebs.py/EBSBackupDriver._get_resource_tags--crossover with--dataset/ETHPy150Open openstack/ironic/ironic/drivers/modules/deploy_utils.py/check_for_missing_params