Python Token Validation

I have a react single page app working to login and I get the token with the following method:

const token = await getAccessTokenSilently();

I then pass this token into a back end python server but I need to make sure that token is validated. I don’t care about the audience, just it’s a valid token that’s not expired. I can’t seem to find any answers in the forum or the docs to this problem.