code: def get_restart_power_failure():
      '''
      Displays whether 'restart on power failure' is on or off if supported
  
      :return: A string value representing the "restart on power failure" settings
      :rtype: string
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' power.get_restart_power_failure
      '''
      ret = salt.utils.mac_utils.execute_return_result(
          'systemsetup -getrestartpowerfailure')
      return salt.utils.mac_utils.validate_enabled(
          salt.utils.mac_utils.parse_return(ret)) == 'onf get_restart_power_failure():
      '''
      Displays whether 'restart on power failure' is on or off if supported
  
      :return: A string value representing the "restart on power failure" settings
      :rtype: string
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' power.get_restart_power_failure
      '''
      ret = salt.utils.mac_utils.execute_return_result(
          'systemsetup -getrestartpowerfailure')
      return salt.utils.mac_utils.validate_enabled(
          salt.utils.mac_utils.parse_return(ret)) == 'on'
docs: Displays whether 'restart on power failure' is on or off if supported
  
      :return: A string value representing the "restart on power failure" settings
      :rtype: string
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' power.get_restart_power_failure