Moved Factions checking method into separate util class