docs: def is_port_open(self, port, timeout=2):
          """
          check if given port is open and receiving connections on container ip_address
  
          :param port: int, container port
          :param timeout: int, how many seconds to wait for connection; defaults to 2
          :return: True if the connection has been established inside timeout, False otherwise
          """
          addresses = self.get_IPv4s()
          if not addresses:
              return False
          return check_port(port, host=addresses[0], timeout=timeout)