It's true, you can check for yourself with WallMarket. However, don't confuse magic spell's elements with a Materia's element, these are two different things. The Materia's element is only relevant for combination with the "Element" Materia to determine elemental attack or defense for the equipped party member. It has nothing to do with the magic spells that the Materia in question possesses.