def IPCommandFailed(self, result, cmd):
    if self.system.RunCommandFailed(
        result, 'Non-zero exit status from: "%s"' % cmd):
      return True
    else:
      return False
If an /sbin/ip command failed, log and return True.
dataset/ETHPy150Open GoogleCloudPlatform/compute-image-packages/google-daemon/usr/share/google/google_daemon/address_manager.py/AddressManager.IPCommandFailed