Okta session validation checking

Right now I am working on backend using java Spring 4.3. I need to check SESSION out or not before every API call. Is there any way to know active SESSION is valid or not from java backend?