hasContext

Deprecated

Don't rely on the global context. Pass the context

Check if there is a context.

This should be used only in code that may be run before the library is loaded. Once the library is loaded, there should always be a context.

Return

Whether there is a context.

See also