def check(self, key):

        return self.has(key) and getattr(self, key)
Returns False if key is absent in object, else returns the value.
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/configuration.py/ConfigurationObject.check