def name_from_value(self, value, default=core.UNSET, patterns=["*"]):
        try:
            return max(
                (name for name in self.names(patterns) if self[name] == value),
                key=len
            )
        except ValueError:
            if default is core.UNSET:
                raise KeyError("No constant matching name %s and value %s" % (patterns, value))
            else:
                return default
This method will determine if cinder supports backup.
dataset/ETHPy150Open tjguk/winsys/winsys/registry.py/RegistryConstants.name_from_value--crossover with--dataset/ETHPy150Open CiscoSystems/avos/openstack_dashboard/api/cinder.py/volume_backup_supported