code: def templateOscillationsWithStructures(type_conn, ccore_flag):
      net = legion_network(
          4, type_conn=conn_type.LIST_BIDIR, ccore=ccore_flag
      )
      dynamic = net.simulate(500, 1000, [1, 1, 1, 1])
  
      for i in range(len(net)):
          assert extract_number_oscillations(dynamic.output, i) > 1
  
imports: from pyclustering.nnet.legion import legion_network
  from pyclustering.nnet import conn_type
  from pyclustering.utils import extract_number_oscillations
label_desc: Use image node_id 1 for calling the LegionTestTemplates obj's underlying member method code with example usage: obj.templateOscillationsWithStructures(type_conn, ccore_flag) without return types