<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def ivorn_present(session, ivorn):
 """ Predicate, returns whether the IVORN is in the database. """

    return bool(
        session.query(Voevent.id).filter(Voevent.ivorn == ivorn).count())