code: def connections(self):
          
          function = lambda connection: connection.input.effect == self \
                                     or connection.output.effect == self
  
          return tuple([c for c in self.pedalboard.connections if function(c)])
docs: :return list[Connection]: Connections that this effects is present (with input or output port)