how to check if item is valid

... I found the solution through Python introspection

sister=GetNextSybling(memyself)

if sister.IsOk():
    print "good sister"
else:
    print "bad sister, its an invalid sister"