On this page

    M

    vm.isContext

    History
    vm.isContext(object): boolean
    Attributes
    object:Object
    Returns:boolean

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