add dedicated API to check plugin class