func hasID(path string, id string, value int) bool {
	v, err := ioutil.ReadFile(filepath.Join(path, id))
	if err != nil {
		return false
	}
	return strings.TrimSpace(string(v)) == fmt.Sprintf("%04x", value)
}
// hasID tests if the file path/id contains the given value.
hasID tests if the file path/id contains the given value.
// hasID tests if the file path / id contains the given value .
func hasID(path string, id string, value int) bool {
	v, err := ioutil.ReadFile(filepath.Join(path, id))
	if err != nil {
		return false
	}
	return strings.TrimSpace(string(v)) == fmt.Sprintf("%04x", value)
}
func hasID ( path string , id string , value int ) bool { v , err := ioutil . ReadFile ( filepath . Join ( path , id ) ) if err != nil { return false } return strings . TrimSpace ( string ( v ) ) == fmt . Sprintf ( " " , value ) }
hasID tests if the file path/id contains the given value.
hasID tests if the file path / id contains the given value .