def recording_in_db(rec_id, con):
    """
    
    Returns True if the recording with ID rec_id is already in the database
    pointed to by "con"
    
    Parameters
    ----------
    rec_id : int
        ID of th3 recording.
    con : SQLite3 connection
        Connection to open DB.

    Returns
    -------
    Bool - True if the rec_id is already an ID in the database, Fasle otherwise

    """
    
    cur = con.cursor()
    
    rows = cur.execute("SELECT id from scores where id = ?",(rec_id,))
    r = rows.fetchone()
    return r is not None