code: func (vm *Engine) isWitnessVersionActive(version uint) bool {
  	return vm.witnessProgram != nil && uint(vm.witnessVersion) == version
  }
docs: // isWitnessVersionActive returns true if a witness program was extracted
  // during the initialization of the Engine, and the program's version matches
  // the specified version.