thread_map__has
if (thread_map__has(sched->map.color_pids, tid))
bool thread_map__has(struct perf_thread_map *threads, pid_t pid);