code: def test_valid_ip():
      """Utils - Valid IP"""
      test_ip_valid = "127.0.0.1"
      assert_equal(utils.valid_ip(test_ip_valid), True)
  
      test_ip_invalid = "test [1234]"
      assert_equal(utils.valid_ip(test_ip_invalid), False)
  
file_path: streamalert/tests/unit/streamalert/shared/test_utils.py
imports: import json
  from nose.tools import assert_equal, assert_false
  from streamalert.shared import utils
  from streamalert.shared.normalize import Normalizer
label_desc: Use image node_id 1 for calling a global function with example usage: test_valid_ip() without return types