class ConnectionChecker(sqlalchemy.interfaces.PoolListener):

    def checkout(self, dbapi_con, con_record, con_proxy):
        pass
How can I check pooled connections in SQLAlchemy before handing them off to my application code?