code: func (s *awsIPs) contains(ip net.IP) bool {
  	networks := s.getCandidateNetworks(ip)
  	for _, network := range networks {
  		if network.Contains(ip) {
  			return true
  		}
  	}
  	return false
  }
docs: // Contains determines whether the host is within aws.