hasImport

fun hasImport(predicate: (String) -> Boolean): Boolean

Checks if this file contains an import matching the given predicate.