code: func isSubdomain(s, domain string) bool {
  	if s == domain {
  		return true
  	}
  	if strings.HasSuffix(s, "."+domain) {
  		return true
  	}
  	return false
  }
docs: // returns true if `s` is `domain` or subdomain of `domain`. Inputs are expected to be sanitized.