code: def valid_ip(ip_address):
      """Verify that a ip_address string is valid
  
      Args:
          ip_address (string): address to be tested
  
      Returns:
          True if the ip_address is valid, otherwise False
      """
      # Early return if ip address is '::1'
      if ip_address == "::1":
          return False
  
      try:
          IPAddress(ip_address)
      except Exception:  # pylint: disable=broad-except
          return False
      return True
  
file_path: streamalert/streamalert/shared/utils.py
imports: from collections import deque
  from netaddr import IPAddress, IPNetwork
  from netaddr.core import AddrFormatError
  from streamalert.shared.logger import get_logger
  from streamalert.shared.normalize import Normalizer
label_desc: Use image node_id 1 for calling a global function with example usage: valid_ip(ip_address) and returns: True, False, False