public boolean hasDraft(long threadId){
synchronized (mDraftSetLock) {
    return mDraftSet.contains(threadId);
  }
}

public boolean hasDraft ( long threadId ) { synchronized ( mDraftSetLock ) { return mDraftSet . contains ( threadId ) ; } }
returns true if the given thread id has a draft associated with it , false if not .
