func (kind Kind) IsRelation() bool {
	switch kind {
	case RelationCreated, RelationJoined, RelationChanged, RelationDeparted, RelationBroken:
		return true
	}
	return false
}
// IsRelation returns whether the Kind represents a relation hook.
IsRelation returns whether the Kind represents a relation hook.
// IsRelation returns whether the Kind represents a relation hook .
func (kind Kind) IsRelation() bool {
	switch kind {
	case RelationCreated, RelationJoined, RelationChanged, RelationDeparted, RelationBroken:
		return true
	}
	return false
}
func ( kind Kind ) IsRelation ( ) bool { switch kind { case RelationCreated , RelationJoined , RelationChanged , RelationDeparted , RelationBroken : return true } return false }
IsRelation returns whether the Kind represents a relation hook.
IsRelation returns whether the Kind represents a relation hook .