'Ensures that the options we care about are set.'

@debugger
def _check_ops(self, required_ops, configuration):

    for attr in required_ops:
        if (not getattr(configuration, attr, None)):
            raise exception.InvalidInput(reason=(_('%(attr)s    is    not    set.') % {'attr': attr}))
