Check if Session Has Expired

I've been working on a Phalcon app, I was curious if there was any simple way to check if a session has expired. That way I can notify a user that they've logged out and need to re-login or what have you.