is

fun is(nameOrGroup: String): Boolean

Check whether this type is part of a given group (via NodeProp.group).