{% if trafficLawsCourse['chapters']|length > 0 %} {% for key, trafficLawsChapterIn in trafficLawsCourse['chapters'] %}