hasProperty

fun <T : Comparable<T>> BlockState.hasProperty(property: Property<T>, value: T): Boolean