Can't we use `self.is_element_present(by, locator)`?