parameters: (self)
return_statement: return self._integrator.success == 1
docstring: Check if integration was successful.
docstring_summary: Check if integration was successful.
docstring_tokens: Check if integration was successful .
function: def successful(self):
          """Check if integration was successful."""
          try:
              self._integrator
          except AttributeError:
              self.set_integrator('')
          return self._integrator.success == 1
function_tokens: def successful ( self ) : try : self . _integrator except AttributeError : self . set_integrator ( '' ) return self . _integrator . success == 1