with-tramp-connection-property

with-tramp-connection-property is a Lisp macro in `tramp.el'.

(with-tramp-connection-property KEY PROPERTY &rest BODY)

Check in Tramp for property PROPERTY, otherwise executes BODY and set.