pub fn transaction_exists(lamport_time: i64, source_node: &str) -> Result<bool>
Check if a transaction exists in the database