code: def is_running(self):
          
          state = yield from self._get_container_state()
          if state == "running":
              return True
          if self.status == "started":  # The container crashed we need to clean
              yield from self.stop()
          return False
docs: Checks if the container is running.
  
          :returns: True or False
          :rtype: bool