This is an ugly check, I would like it either condensed or removed; since you don't really need to tell every admin that the API key is too short when you could just put it in the console log.