Same here on condensing these equality tests for lists