I have the followinf pipe Angular that accepts node and checks if there are at least one children node is enabled:
@Pipe({ name: "childEnabled", pure: f