perf thread_map: Add has() method