added isPluginInstalled method to plugin class