as_logical