I'd suggest moving this to a method on `GeonetworkRecord`, e.g. `collection.isDownloadable()`