def __is_on_top(self, cond):
    (_, prioqueue) = self.__find_first_pending_queue()

    return cond == prioqueue[0]
returns a dict with (newEnergy - oldEnergy) for each type (=key) of energy,
dataset/ETHPy150Open ganeti/ganeti/lib/locking.py/SharedLock.__is_on_top--crossover with--dataset/ETHPy150Open sosy-lab/benchexec/benchexec/util.py/_energy_difference