title: Assert Fails Even java.lang.AssertionError: expected [true] but found [false]
body: <p>I get this error when i run it. I'm trying to run it and I changed return true and return false later. Do you know why it happens?</p>
  
  <pre><code>public static boolean elementIsPresent(MobileElement element) {
      try {
          element.isDisplayed();
      } catch (org.openqa.selenium.NoSuchElementException e) {
          return true;
      }
      return false;
  }
  
  public void checkbox() {
      try {
          Assert.assertTrue(elementIsPresent(this.CimonCheckBox));
          Log.log(driver).info("Passes matches Cimon Name");
          Assert.assertTrue(elementIsPresent(this.KurwaCheckbox));
          Log.log(driver).info("Passes matches names");
      } catch (Exception e) {
          Assert.fail("CheckBox: " + e.getMessage());
      }
  }
  </code></pre>