FisContext
Bun

function

vm.isContext

function isContext(
sandbox: Context
): boolean;

Returns true if the given object object has been contextified using createContext, or if it's the global object of a context created using vm.constants.DONT_CONTEXTIFY.