isSupertypeOf

fun Node.isSupertypeOf(superType: Type, subType: Type?): Boolean