How to check if the element is displayed in Appium?
//Selecting Element
MobileElement pElement = (MobileElement) driver.findElementByAccessibilityId("SomeAccessibilityID");
//Checking if it displayed on screen.
boolean isDisplayed = pElement.isDisplayed();
.