def _is_xsm_sr_check_relaxed(self):
        try:
            return self.cached_xsm_sr_relaxed
        except __HOLE__:
            config_value = None
            try:
                config_value = self._make_plugin_call('config_file',
                                                      'get_val',
                                                      key='relax-xsm-sr-check')
            except Exception:
                LOG.exception(_LE('Plugin config_file get_val failed'))
            self.cached_xsm_sr_relaxed = config_value == "true"
            return self.cached_xsm_sr_relaxed
dataset/ETHPy150Open openstack/nova/nova/virt/xenapi/vmops.py/VMOps._is_xsm_sr_check_relaxed