Move isFirstTurn from generics to utils