Do you mean
```c
  if (!application->GetManifest()->GetList(
          keys::kPermissionsKey, &permissions) || !permissions) {
...
}
```