Application :: hasContext - Has application context been set
The property returns, whether an application context has been set by calling context() . In order to avoid exceptions, the function might be called before requesting the system context by calling context() .
Return value: Success ( bool )
The value is true when the function was executed successfully. Otherwise the value is set to false .