def cleanup_on_success(self):
        """Returns True, if cleanup on success flag is set

        :return:
        :rtype: bool
        """

        return self.options.get('cleanup_on_success', False)