whole_func_string: function checkIfShouldStick() {
  				if (mediaQuery && !matchMedia('(' + mediaQuery + ')').matches) return;
  				var scrollTop = (window.pageYOffset || doc.scrollTop) - (doc.clientTop || 0);
  				var shouldStick = scrollTop >= stickyLine;
  				// Switch the sticky modes if the element has crossed the sticky line
  				if (shouldStick && !isSticking) stickElement();else if (!shouldStick && isSticking) unstickElement();
  			}
func_code_string: function checkIfShouldStick() {
  				if (mediaQuery && !matchMedia('(' + mediaQuery + ')').matches) return;
  				var scrollTop = (window.pageYOffset || doc.scrollTop) - (doc.clientTop || 0);
  				var shouldStick = scrollTop >= stickyLine;
  				// Switch the sticky modes if the element has crossed the sticky line
  				if (shouldStick && !isSticking) stickElement();else if (!shouldStick && isSticking) unstickElement();
  			}
func_documentation_string: checks if the window has passed the sticky line