hasRole

fun hasRole(role: String): Boolean

Whether the caller holds the role role, one of its roles.