var model = GetContextItem<ICmsModel>();
I noticed that glass doesn't return null if ICmsModel is not derived from the Context Item...
In this example, I'd expect glass to try and map it, but what if ICmsModel isn't derived from the Context Item. Is there a way glass can tell me? I thought glass would return null if it can't map, but it doesn't, the object is instantiated but the fields are null.
Does glass offer any methods to help achieve what I want?
ICmsModel
and enforced the template in the config?