We can use is_element_visible here.