Added functions for determining specific task states