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
          """
  
          for scoped_var_m in self.scoped_variables:
              if scoped_var_m.scoped_variable.data_port_id == data_port_id:
                  return scoped_var_m
  
          return StateModel.get_data_port_m(self, data_port_id)