hasProperty

Checks whether the current block state has the given property.