[UTIL] independent utility functions
[TOPHAT][FIX] Detect no hint in run.log if a task ends immediately.