'Whether to cancel the current operation because user
declined the confirmation prompt.
:param dict kwargs: The request arguments.
:returns: bool'

def _cancel_operation(self, kwargs, config, user):

    return (not ((not self.confirmation) or kwargs.get(CONFIRM_PARAM_NAME) or config.getboolean('core', 'disable_confirm_prompt', fallback=False) or user(self.confirmation, kwargs)))
