Utility function to check if two items are the same based on their IDs.
Optional
The first item.
The second item.
True if both items have the same ID, false otherwise.
Utility function to check if two items are the same based on their IDs.