has_as_ancestor


Description:

public bool has_as_ancestor (Object ancestor)

Check if this has an ancestor ancestor somewhere up in the hierarchy.

One can e.g. check if a Element is inside a Pipeline.

Parameters:

this

a Object to check

ancestor

a Object to check as ancestor

Returns: