Explicitly check td_trim(td) to detect open(2) flag