Yes, even if they were painted. The alloy one on the left is larger, looks more rounded off, and is one piece (besides the steel inserts, inside the shell). The the outer lip of the large drive side dust cap fits in a groove.
The steel one on the right is smaller, has 3 piece construction...