public static function is53WeekYear(int $year) : bool
    {
        $date = LocalDate::of($year, 1, 1);
        $dayOfWeek = $date->getDayOfWeek();

        return $dayOfWeek->is(DayOfWeek::THURSDAY)
            || ($dayOfWeek->is(DayOfWeek::WEDNESDAY) && $date->isLeapYear());
    }