def exists?
      if located? && stale?
        Watir.logger.deprecate 'Checking `#exists? == false` to determine a stale element',
                               '`#stale? == true`',
                               reference: 'http://watir.com/staleness-changes',
                               ids: [:stale_exists]
        # TODO: Change this to `reset!` after removing deprecation
        return false
      end

      assert_exists
      true
    rescue UnknownObjectException, UnknownFrameException
      false
    end
def exists?
      if located? && stale?
        Watir.logger.deprecate 'Checking `#exists? == false` to determine a stale element',
                               '`#stale? == true`',
                               reference: 'http://watir.com/staleness-changes',
                               ids: [:stale_exists]
        # TODO: Change this to `reset!` after removing deprecation
        return false
      end

      assert_exists
      true
    rescue UnknownObjectException, UnknownFrameException
      false
    end
Returns true if element exists.
 Checking for staleness is deprecated

 @return [Boolean]