Does this check if `requested_num_threads` a positive integer?