public bool IsParentOrChildOf(MemberPath candidate) { return(IsParent(candidate) || IsChild(candidate)); }