check if plugin can be loaded