Player.getType helper method to clean up some logic