added methods to check if plugin is configured properly