So we're porting deployment scripts from standalone to clustered implementations of OSB 11.1.1.6 on WLS 10.3.6.

When trying to set attributes on a Uniform Distributed Topic, WLST is being completely retarded and refuses to navigate to the mbean for the object, although it's easily navigable from the wlst.sh shell.

Furthermore, the code that's performing this step is a copy of the code that does the same function for a long list of distributed queues without complaining.

So anyway, I've got a lookup function that checks for the existence of the topic: