added: ensure_boolean