Check if plugin is valid for the given platform it's running on.