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: escaper.go
    path of file: ./repos/client/go/terminalescaper
    
    the code of the file until where you have to start completion: package terminalescaper

import (
	"io"
	"unicode/utf8"
)

// Taken from unexported data at golang.org/x/crypto/ssh/terminal
// and expanded with data at github.com/ke
    
func isStartOfColorCode(s string, i int) bool {
outer:
	for _, code := range vt100EscapeCodes {
		if i+len(code) > len(s) {
			continue
		}
		for j, c := range code {
			if s[i+j] != c {
				continue outer
			}
		}
		return true
	}
	return false
}