We don't have any markers for imported modules that are not available.
Symbols defined in the missing module have the markers for undefined identifiers.
On the screenshot below the missing import has no marker, while CT_RandomComponent defined in RandomDefinitions is marked.