Use new capabilities API method.