Add a function to query if global OpenCL context is initialized.