def is_named
import ezx@1.11.0.0/src/pkg/pkg.bend as Pkgimport Base
419# an import of a named hub package, which is a dependency rather than a module
420# of this package, whether or not the hub rules its name in (EZ-HUB-3)
421def is_named(+spec: String) -> Bool:
422 Bool.not(String.is_empty(named.of(spec)))