'Return the owning :class:`.Session` for this instance,
or ``None`` if none available.'

@property
@util.dependencies('sqlalchemy.orm.session')
def session(self, sessionlib):

    return sessionlib._state_session(self)
