def delete_volume(self):
        context = self._config.context
        if context.ami in "volume_id":
            return True

        log.debug('Deleting volume {0}'.format(self._volume.id))
        self._volume.delete()
        return self._volume_deleted()
dataset/ETHPy150Open Netflix/aminator/aminator/plugins/cloud/ec2.py/EC2CloudPlugin.delete_volume/swapped operands of `in`