def response_hook(optional=True):
    def _hook(hook):
        return APIHooks().add_response_hook(hook, optional)
    return _hook
Same as _find_iso_sr except raises a NotFound exception if SR
dataset/ETHPy150Open softlayer/jumpgate/jumpgate/common/hooks/__init__.py/response_hook--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/xenapi/vm_utils.py/_safe_find_iso_sr