ifSignedMessage

inline fun <T> Message.ifSignedMessage(block: (SignedMessage) -> T): T?