probably too late for me to be commenting about this  but this docstring confuses me  it looks like all it does is return the node associated with the instance  where what is the  validate  part i know michael  it has nothing to do with your changes  