Why does this LED matrix have two 5V and GND pins?

So you agree that my explanation of why there are two pins for 5V and GND is correct.