matches

fun matches(unit: AbstractUnit?): Boolean