object Connection
fun isInvitation(type: String): Boolean
fun isRequest(type: String): Boolean
fun isResponse(type: String): Boolean