Detect enable plugin at objc