Checks if an element is within the viewport.
The element to check.
True if the element is in the viewport, false otherwise.
Checks if an element is within the viewport.