def _GetInstDiskUsage(ctx, inst):
  usage = ctx.disk_usage[inst.uuid]

  if usage is None:
    usage = 0

  return usage
Determine whether the target is a candidate for the zipalign task.
dataset/ETHPy150Open ganeti/ganeti/lib/query.py/_GetInstDiskUsage--crossover with--dataset/ETHPy150Open pantsbuild/pants/contrib/android/src/python/pants/contrib/android/tasks/zipalign.py/Zipalign.is_zipaligntarget