To note here, versionKnown is the name of the bool it's protecting, so the function can't be the same name.  It could be capitalized, but then it's exported.  Exporting it wouldn't hurt, but it really doesn't have to be.