instead

   val isVoid = this.isInstanceOf[VoidContext]

implemented in the Context trait?