Check if threadIdentifiers is empty