Does pid descend from target process?
target_set_pid(pid:)
pid
The pid of the process to query
This function returns whether the given process-id is within the “target set”, that is whether it is a descendant of the top-level target process.