I am extracting a bool value from a (non-generic, heterogeneous) collection.
bool
The as operator may only be used with reference types, so it is no
as
You can cast it to a bool? with the as keyword and check the HasValue property.
bool?
HasValue