checking if plugin is enabled