class_docstr: Tests for ThreatIntel
class_docstr_tok: ["Tests","for","ThreatIntel"]
docstr: ThreatIntel - Is Excluded IOC, IP
docstr_tok: ["ThreatIntel","-","Is","Excluded","IOC",",","IP"]
code: def test_is_excluded_ioc_ip(self):
      """ThreatIntel - Is Excluded IOC, IP"""
      self._threat_intel._excluded_iocs["ip"] = {
          IPNetwork("1.2.3.0/28")
      }
      assert_equal(
          self._threat_intel._is_excluded_ioc("ip", "1.2.3.20"), False
      )
      assert_equal(
          self._threat_intel._is_excluded_ioc("ip", "1.2.3.15"), True
      )
  
imports: from botocore.exceptions import ClientError, ParamValidationError
  from mock import Mock, patch
  from netaddr import IPNetwork
  from nose.tools import assert_equal
  from streamalert.rules_engine.threat_intel import ThreatIntel
label_desc: Use image node_id 19 for calling the TestThreatIntel obj's underlying member method code with example usage: obj.test_is_excluded_ioc_ip() without return types