How to check auth status on startup?

How can I check whether the user is logged in previously or not in startup for the react-django app?