Checks if an element is visible in the current view.
True if an element is visible, false - otherwise.