code: def start_server(args):
      if is_server_running() == True:
          print("Server running, do not start again")
          return
  
      if args.server_start_noprompt:
          choice = "y"
      else:
          choice = raw_input(
              "Are you sure to run server container(Y/N): "
          ).lower()
  
      if choice in ("y", "yes"):
          print("Try to start the server with container")
  
          command = (
              "docker run -d -p {}:8000 tobegit3hub/advisor".format(
                  args.port
              )
          )
          if args.command_args != None:
              command += " " + args.command_args
          print("Run the command: {}".format(command))
  
          exit_code = subprocess.call(command, shell=True)
  
          if exit_code != 0:
              print(
                  "Fail to run server, exit code: {}".format(exit_code)
              )
          else:
              print(
                  "Success to start the server, please access http://127.0.0.1:{}".format(
                      args.port
                  )
              )
  
      else:
          print("Cancel operation")
  
file_path: advisor/advisor_client/advisor_client/commandline/admin_command.py
imports: import argcomplete
  import argparse
  import logging
  import pkg_resources
  import sys
  import subprocess
label_desc: Use image node_id 1 for calling a global function with example usage: start_server(args) without return types