code: def check_open_port(address, port=22):
      """
      ## check_open_port
  
      Checks whether specified port open at given IP address.
  
      Parameters:
          address (string): given IP address.
          port (int): check if port is open at given address.
  
      **Returns:** A boolean value, confirming whether given port is open at given IP address.
      """
      if not address:
          return False
      with closing(
          socket.socket(socket.AF_INET, socket.SOCK_STREAM)
      ) as sock:
          if sock.connect_ex((address, port)) == 0:
              return True
          else:
              return False
  
imports: import os
  import re
  import sys
  import cv2
  import types
  import errno
  import stat
  import shutil
  import importlib
  import requests
  import numpy
  import logging
  import platform
  import socket
  from tqdm import tqdm
  from contextlib import closing
  from pathlib import Path
  from colorlog import ColoredFormatter
  from pkg_resources import parse_version
  from requests.adapters import HTTPAdapter, Retry
  from ..version import __version__
label_desc: Use image node_id 6 for calling a global function with example usage: check_open_port(address, port) and returns: False, True, False