better? check for if a plugin is installed

at least better in terms of puppet compatibility