docs: def threadid(self):
          """
          Current thread ident. If current thread is main thread then it returns ``None``.
  
          :type: int or None
          """
          current = self.thread.ident
          main = get_main_thread()
          if main is None:
              return current
          else:
              return current if current != main.ident else None