It does mention alignment just at the end of the description.
This second effect only functions against spells and effects created by evil creatures or objects, subject to GM discretion.
Does that apply to the entire statement?
Second, the subject immediately receives another saving throw (if one was allowed to begin with) against any spells or effects that possess or exercise mental control over the creature (including enchantment [charm] effects and enchantment [compulsion] effects, such as charm person, command, and dominate person. This saving throw is made with a +2 morale bonus, using the same DC as the original effect. If successful, such effects are suppressed for the duration of this spell. The effects resume when the duration of this spell expires. While under the effects of this spell, the target is immune to any new attempts to possess or exercise mental control over the target. This spell does not expel a controlling life force (such as a ghost or spellcaster using magic jar), but it does prevent them from controlling the target. This second effect only functions against spells and effects created by evil creatures or objects, subject to GM discretion.
or just this bit?
While under the effects of this spell, the target is immune to any new attempts to possess or exercise mental control over the target. This spell does not expel a controlling life force (such as a ghost or spellcaster using magic jar), but it does prevent them from controlling the target.
Thanks that matches my understanding of Dispel magic. Though its psychic magic can by a psychic class so that's not as visible as arcane /divine casting is my understanding. There is probably DM discretion there. But devils probably have a high check chance, so it is probably mute point.