Isdisplayed() on iOS

What is the best way to check if an element (e.g. a drawer menu) is displayed on iOS?
isDisplayed does not seem to provide the correct result on iOS8 with appium 1.4.16.

driver.findElements(By.xpath(" drawer menu")).size() > 0

this method does not throw exception it will return integer

i have to try this again, but as afar as i know this returns all my elements, even if they are not displayed (i.e. they still exist)

element.isdisplayed() works. there’s just an error in the inspector that misled me. see https://github.com/appium/appium/issues/6063