Godeps/_workspace/src/gopkg.in/mgo.v2/bson/bson.go
func IsObjectIdHex(s string) bool {
	if len(s) != 24 {
		return false
	}
	_, err := hex.DecodeString(s)
	return err == nil
}
func IsObjectIdHex(s string) bool {
	if len(s) != 24 {
		return false
	}
	_, err := hex.DecodeString(s)
	return err == nil
}
func IsObjectIdHex ( s string ) bool { if len ( s ) != 24 { return false } _ , err := hex . DecodeString ( s ) return err == nil }
// IsObjectIdHex returns whether s is a valid hex representation of
// an ObjectId. See the ObjectIdHex function.
IsObjectIdHex returns whether s is a valid hex representation of an ObjectId . See the ObjectIdHex function .