public bool DestroyTimedTrafficLight(ref TrafficLightSimulation sim)
        {
            if (!sim.IsTimedLight())
            {
                return(false);
            }

            sim.type = TrafficLightSimulationType.None;
            ITimedTrafficLights timedLight = sim.timedLight;

            sim.timedLight = null;

            timedLight?.Destroy();

            return(true);
        }