class_docstr: !
  @brief Common network description that consists of information about oscillators and connection between them.
class_docstr_tok: ["!","@","brief","Common","network","description","that","consists","of","information","about","oscillators","and","connection","between","them","."]
docstr: !
  @brief Returns True if there is connection between i and j oscillators and False - if connection doesn't exist.
  
  @param[in] i (uint): index of an oscillator in the network.
  @param[in] j (uint): index of an oscillator in the network.
docstr_tok: ["!","@","brief","Returns","True","if","there","is","connection","between","i","and","j","oscillators","and","False","-","if","connection","does","n't","exist",".","@","param","[","in","]","i","(","uint",")",":","index","of","an","oscillator","in","the","network",".","@","param","[","in","]","j","(","uint",")",":","index","of","an","oscillator","in","the","network","."]
code: def has_connection(self, i, j):
      """!
      @brief Returns True if there is connection between i and j oscillators and False - if connection doesn't exist.
  
      @param[in] i (uint): index of an oscillator in the network.
      @param[in] j (uint): index of an oscillator in the network.
  
      """
      if self._conn_represent == conn_represent.MATRIX:
          return self._osc_conn[i][j]
  
      elif self._conn_represent == conn_represent.LIST:
          for neigh_index in range(0, len(self._osc_conn[i]), 1):
              if self._osc_conn[i][neigh_index] == j:
                  return True
          return False
  
      else:
          raise NameError("Unknown type of representation of coupling")
  
imports: import math
  from enum import IntEnum
label_desc: Use image node_id 14 for calling the network obj's underlying member method code with example usage: obj.has_connection(i, j) and returns: self, False, True