code: def ip_check(ip):
      if ip == "localhost":
          return True
  
      if not isinstance(ip, str):
          log.error("[IP_CHECK] IP(%s) is not a string." % ip)
          return False
  
      return True
  
file_path: milvus/tests/python_client/check/param_check.py
imports: import sys
  import operator
  from common import common_type
  from utils.util_log import test_log
label_desc: Use image node_id 1 for calling a global function with example usage: ip_check(ip) and returns: True, True, False