code: def _get_state():
      '''
      Returns the state of connman
      '''
      try:
          return pyconnman.ConnManager().get_property('State')
      except KeyError:
          return 'offline'
      except dbus.DBusException as exc:
          raise salt.exceptions.CommandExecutionError('Connman daemon error: {0}'.format(exc)f _get_state():
      '''
      Returns the state of connman
      '''
      try:
          return pyconnman.ConnManager().get_property('State')
      except KeyError:
          return 'offline'
      except dbus.DBusException as exc:
          raise salt.exceptions.CommandExecutionError('Connman daemon error: {0}'.format(exc))
docs: Returns the state of connman