hasIcon

fun hasIcon(icon: Icon): Boolean
fun hasIcon(iconName: String): Boolean