Function isPageActive

  • Check if the current page is currently active.

    Returns boolean