RelationSet.contains

bool contains(atk.types.RelationType relationship)

Determines whether the relation set contains a relation that matches the specified type.

Parameters

relationshipan #AtkRelationType

Returns

true if relationship is the relationship type of a relation

in set, false otherwise