For readability this var could be called $moduleExists or $moduleIsValid (but that would be opposite meaning).