@volatile_attribute<EOL><INDENT>def exists(self):<DEDENT>
try:<EOL><INDENT>return self.attr('<STR_LIT>')<EOL><DEDENT>except (PocoTargetRemovedException, PocoNoSuchNodeException):<EOL><INDENT>return False<EOL><DEDENT>
Test whether the UI element is in the hierarchy. Similar to :py:meth:`.attr('visible')
<poco.proxy.UIObjectProxy.attr>`.

Returns:
    bool: True if exists otherwise False