code: def check_enable_mode(self, check_string="CLI Already in admin mode"):
          
          output = self.send_command_timing("enable-admin")
          if re.search(r"ssword", output):
              # Just hit enter as we don't actually want to enter enable here
              self.write_channel(self.normalize_cmd(self.RETURN))
              self.read_until_prompt()
              return False
          elif check_string in output:
              return True
          raise ValueError("Unexpected response in check_enable_mode() method")
docs: Check whether we are in enable-admin mode.
           SROS requires us to do this:
          *A:HOSTNAME# enable-admin
          MINOR: CLI Already in admin mode.
          *A:HOSTNAME#
          *A:HOSTNAME# enable-admin
          Password:
          MINOR: CLI Invalid password.
          *A:HOSTNAME#