class_docstr: Run ZAP authentication in a background thread
class_docstr_tok: ["Run","ZAP","authentication","in","a","background","thread"]
docstr: Is the ZAP thread currently running?
docstr_tok: ["Is","the","ZAP","thread","currently","running","?"]
code: def is_alive(self):
      """Is the ZAP thread currently running?"""
      if self.thread and self.thread.is_alive():
          return True
      return False
  
imports: import time
  import logging
  from threading import Thread, Event
  import zmq
  from zmq.utils import jsonapi
  from zmq.utils.strtypes import bytes, unicode, b, u
  import sys
  from .base import Authenticator
label_desc: Use image node_id 11 for calling the ThreadAuthenticator obj's underlying member method code with example usage: obj.is_alive() and returns: False, True