docs: def get_data_port_m(self, data_port_id):
          """Searches and returns the model of a data port of a given state
  
          The method searches a port with the given id in the data ports of the given state model. If the state model
          is a container state, not only the input and output data ports are looked at, but also the scoped variables.
  
          :param data_port_id: The data port id to be searched
          :return: The model of the data port or None if it is not found
          """
          from itertools import chain
          data_ports_m = chain(self.input_data_ports, self.output_data_ports)
          for data_port_m in data_ports_m:
              if data_port_m.data_port.data_port_id == data_port_id:
                  return data_port_m
          return None