You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: main.go
    path of file: ./repos/build-web-application-with-golang/en/code/src/apps/ch.4.4/validator
    
    the code of the file until where you have to start completion: // This file contains all the validators to validate the profile page.
package validator

impo
    
func doSlicesIntersect(s1, s2 []string) bool {
	if s1 == nil || s2 == nil {
		return false
	}
	for _, str := range s1 {
		if isElementInSlice(str, s2) {
			return true
		}
	}
	return false
}