Check if user signed in (javascript)

Without using the sign-in widget, what is the standard means to check if a user has authenticated in javascript?

Checkout okta-auth-js