code: func (ip *Checker) ContainsIP(addr net.IP) bool {
  	for _, authorizedIP := range ip.authorizedIPs {
  		if authorizedIP.Equal(addr) {
  			return true
  		}
  	}
  
  	for _, authorizedNet := range ip.authorizedIPsNet {
  		if authorizedNet.Contains(addr) {
  			return true
  		}
  	}
  
  	return false
  }
docs: // ContainsIP checks if provided address is in the trusted IPs