@property
    def unit_of_measurement(self):
        return self._unit_of_measurement
Check whether lock is owned by current thread.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/sensor/efergy.py/EfergySensor.unit_of_measurement--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/locking.py/_BaseCondition._base_is_owned