def initialised():
    return backends.get_backend() not in ['pyop2.void', 'pyop2.finalised']
Check whether PyOP2 has been yet initialised but not yet finalised.
dataset/ETHPy150Open OP2/PyOP2/pyop2/op2.py/initialised