<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def atlasdb_set_zonefile_tried_storage( zonefile_hash, tried_storage, con=None, path=None ):
 """ Make a note that we tried to get the zonefile from storage """

    with AtlasDBOpen(con=con, path=path) as dbcon:
        if tried_storage:
            tried_storage = 1
        else:
            tried_storage = 0

        sql = "UPDATE zonefiles SET tried_storage = ? WHERE zonefile_hash = ?;"
        args = (tried_storage, zonefile_hash)

        cur = dbcon.cursor()
        res = atlasdb_query_execute( cur, sql, args )
        dbcon.commit()

    return True