RelationSet.containsTarget

Determines whether the relation set contains a relation that matches the specified pair formed by type relationship and object target.

Parameters

relationship atk.types.RelationType

an #AtkRelationType

target atk.object.ObjectWrap

an #AtkObject

Return Value

Type: bool

true if set contains a relation with the relationship type relationship with an object target, false otherwise