docsFunctionsThreadsZthreadLockedZthreadLocked Returns true if the thread is locked. Syntax ZthreadLocked{threadID?} Arguments NameTypeRequiredDefaultthreadIDsnowflakeNo- Example ZthreadLocked{123456789012345678}ZthreadListZthreadMessageCount