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: id.go
    path of file: ./repos/photoprism/pkg/fs
    
    the code of the file until where you have to start completion: package fs

import (
	"regexp"

	"github.com/photoprism/photoprism/pkg/rnd"
)

var DscNameRegexp = regexp.MustCompile("\\D{3}[\\d_]\\d{4,8}_?\\d{0,6}_?\\d{0,6}[\\.jpgJPGXx]{0,4}")
var UniqueNameRegexp = regexp.MustCompile("[a-f0-9]{8,16}_[a-f0-9]{6,16}_[A-Za-z0-9
    
func IsGenerated(fileName string) bool {
	if fileName == "" {
		return false
	}

	base := BasePrefix(fileName, false)

	if IsAsciiID(base) {
		return true
	} else if IsHash(base) {
		return true
	} else if IsInt(base) {
		return true
	} else if IsDscName(base) {
		return true
	} else if IsUniqueName(base) {
		return true
	} else if rnd.IsUnique(base, 0) {
		return true
	} else if IsCanonical(base) {
		return true
	}

	return false
}