class_docstr: SumoTLManager is responsible for the management of the sumo traffic lights (i.e., keeps control
  of the current program, phase, ...)
class_docstr_tok: ["SumoTLManager","is","responsible","for","the","management","of","the","sumo","traffic","lights","(","i.e.",",","keeps","control","of","the","current","program",",","phase",",","...",")"]
docstr: Tick to traffic light manager
docstr_tok: ["Tick","to","traffic","light","manager"]
code: def tick(self):
      """
      Tick to traffic light manager
      """
      if self._off is False:
          for tl_id in traci.trafficlight.getIDList():
              results = traci.trafficlight.getSubscriptionResults(tl_id)
              current_program = results[
                  traci.constants.TL_CURRENT_PROGRAM
              ]
              current_phase = results[traci.constants.TL_CURRENT_PHASE]
  
              if current_program != "online":
                  self._current_program[tl_id] = current_program
                  self._current_phase[tl_id] = current_phase
  
imports: import collections
  import enum
  import logging
  import os
  import carla
  import sumolib
  import traci
  from .constants import INVALID_ACTOR_ID
  import lxml.etree
label_desc: Use image node_id 10 for calling the SumoTLManager obj's underlying member method code with example usage: obj.tick() without return types