def __nonzero__(self):
        return bool(int(self))
Obtaining a query from resource id.
dataset/ETHPy150Open sublee/elo/elo.py/Rating.__nonzero__--crossover with--dataset/ETHPy150Open Havate/havate-openstack/proto-build/gui/horizon/Horizon_GUI/openstack_dashboard/api/ceilometer.py/CeilometerUsage.query_from_object_id