Add a function to query if global OpenCL context is initialized.
Merge pull request #986 from pengx17:2.4_initiated_context