Returns true if the named property exists for the Unit.
Has Unit Property (Property name, text) in unit (unit name, text) returns boolean
if (has unit property “abbreviated name” in unit “my unit with long name”) then write log “the abbreviated name of the unit is “ & (get unit property “abbreviated name” in unit “my unit with long name”) else write log “There is no abbreviated name for this unit" end if