returns true if any portion of the element is visible in the viewport (considering element’s position and dimension, compared to dimension and scroll position of window).

POC: http://jsfiddle.net/moagrius/wN7ah/