public virtual bool NeedsContext(BStreamFileToolkit tk)
    {
        bool ret = HCSBSTREAMPINVOKE.BBaseOpcodeHandler_NeedsContext(swigCPtr, BStreamFileToolkit.getCPtr(tk));

        if (HCSBSTREAMPINVOKE.SWIGPendingException.Pending)
        {
            throw HCSBSTREAMPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }