code: def is_boot_completed(self):
          
          completed = self.adb.getprop('sys.boot_completed')
          if completed == '1':
              self.log.debug('Device boot completed.')
              return True
          return False
docs: Checks if device boot is completed by verifying system property.