pub fn item_exists(conn: &Connection, item_id: &str) -> Result<bool>
Check if an item exists in the projection.
Returns an error if the query fails.