code: def get_available_port():
      """
      Returns first open port available.
      """
      from socket import socket
  
      with socket() as s:
          s.bind(("", 0))
          port = int(s.getsockname()[1])
      return port
  
imports: from __future__ import print_function
  import sys
  import logging
  import os
  from os import path
  from six.moves import input
  from six.moves.configparser import ConfigParser
  import paramiko
  from paramiko import SFTPClient
  from .aup import BasicConfig, print_result
label_desc: Use image node_id 11 for calling a global function with example usage: get_available_port() and returns: port