code: def get_status(self):
          
          if self.driver is None:
              return WhatsAPIDriverStatus.NotConnected
          if self.driver.session_id is None:
              return WhatsAPIDriverStatus.NotConnected
          try:
              self.driver.find_element_by_css_selector(self._SELECTORS['mainPage'])
              return WhatsAPIDriverStatus.LoggedIn
          except NoSuchElementException:
              pass
          try:
              self.driver.find_element_by_css_selector(self._SELECTORS['qrCode'])
              return WhatsAPIDriverStatus.NotLoggedIn
          except NoSuchElementException:
              pass
          return WhatsAPIDriverStatus.Unknown
docs: Returns status of the driver
  
          :return: Status
          :rtype: WhatsAPIDriverStatus