Robot Framework: How to make Wait until keyword from selenium library return true or false
<p>I would like to Run a keyword if an element is present on page.</p>

<p>I try using Selenium library's  Wait Until Page Contains Element keyword, but it will always return "None", whether or not the element is present. I tried setting custom error, but that won't work either: </p>

<pre><code>${condition} =     Wait Until Page Contains Element    ${locator}    timeout=5   error=false
Run Keyword if  '${condition}'=='false'       click element  ${some_refreshButton_locator}
</code></pre>

<p>Keyword click element  ${locator} will run only when I make condition '${condition}'=='None'</p>

<p>Am I doing something wrong and how can I make a Selenium Library Wait until... keyword return true or false.</p>

<p>Thanks!</p>