code: def execute_return_success(cmd):
      '''
      Executes the passed command. Returns True if successful
  
      :param str cmd: The command to run
  
      :return: True if successful, otherwise False
      :rtype: bool
  
      :raises: Error if command fails or is not supported
      '''
  
      ret = _run_all(cmd)
  
      if ret['retcode'] != 0 or 'not supported' in ret['stdout'].lower():
          msg = 'Command Failed: {0}\n'.format(cmd)
          msg += 'Return Code: {0}\n'.format(ret['retcode'])
          msg += 'Output: {0}\n'.format(ret['stdout'])
          msg += 'Error: {0}\n'.format(ret['stderr'])
          raise CommandExecutionError(msg)
  
      return Truf execute_return_success(cmd):
      '''
      Executes the passed command. Returns True if successful
  
      :param str cmd: The command to run
  
      :return: True if successful, otherwise False
      :rtype: bool
  
      :raises: Error if command fails or is not supported
      '''
  
      ret = _run_all(cmd)
  
      if ret['retcode'] != 0 or 'not supported' in ret['stdout'].lower():
          msg = 'Command Failed: {0}\n'.format(cmd)
          msg += 'Return Code: {0}\n'.format(ret['retcode'])
          msg += 'Output: {0}\n'.format(ret['stdout'])
          msg += 'Error: {0}\n'.format(ret['stderr'])
          raise CommandExecutionError(msg)
  
      return True
docs: Executes the passed command. Returns True if successful
  
      :param str cmd: The command to run
  
      :return: True if successful, otherwise False
      :rtype: bool
  
      :raises: Error if command fails or is not supported