Once this is included in your project you can use
Helper.find_web_element("div#ad_banner")
If if does not work then the element does not exist. I am sure the code can be cleaned up but this is how I managed to solve my issues with hybrid app testing.