Returns true if context is not null. Otherwise returns false.
true
false
bool get hasContext => context != null;