WingIDE 4.0 and pymel, isinstance

So having a few issues with the code completion within Wing4.0.

I am trying the:

assert(isinstance(node, Class)) trick

My question is around pymel.

If I am importing pymel.all under pma and I am inferring that the node is a PyNode(Transform) instance, do I need to:

assert(isinstance(node, ‘pma.Transform’))
or
assert(isinstance(node, PyNode(Transform)))

?
Currently all my tried variations are not doing anything useful…

Answered it myself sorry

assert (isinstance(node, pma.nodetypes.Transform))