don't rely on hasattr in utils.dir2...
don't rely on hasattr in utils.dir2
Some remote object libraries (e.g. Pyro) will lie to hasattr, not raising AttributeError until the attr is actually requested.
This prevents these AttributeErrors from crashing IPython.
closes gh-543
Signed-off-by: MinRK <benjaminrk@gmail.com>