because sometimes such APIs return nil slices, sometimes empty slices. We want nothing to happen in both cases.