def foreign.first
import bolt@1.27.0.0/src/rules/suspicious/unused.bend as Unusedimport Base
import bolt@1.27.0.0/src/syntax/tree.bend as Tree
52# is the statement an import?
53def foreign.first(sk: Tree.StmtKind) -> Bool:
54 match sk:
55 case Tree.SImport{}:
56 True{}
57 case other:
58 False{}