def check_dispatch(got):
    assert isinstance(got._oleobj_, pythoncom.TypeIIDs[pythoncom.IID_IDispatch])
def check_dispatch(got):
    assert isinstance(got._oleobj_, pythoncom.TypeIIDs[pythoncom.IID_IDispatch])