added as_boolean for Nil