// returns true if timeout static bool ai_speculateWithActiveAndTimeout(fS word, double timeoutSeconds) { if (loading()) false; ret eitherIsB(evalWithTimeout(toMS(timeoutSeconds), r { ai_speculateWithActive(word) })); }