code: func (ps *PortSet) Contains(value int) bool {
  	for _, portRange := range *ps {
  		if portRange.Contains(value) {
  			return true
  		}
  	}
  
  	return false
  }
docs: // Contains checks whether the value is within this port set.