Use common function GriefPrevention.instance.isHorse

Use the function that is already available.