Better test to check if we have a list or an array of energies.