intficpy/thing_base.py
def containsLiquid(self):
        """Returns the first liquid found in the `contains`, or None"""
        for key in self.contains:
            for item in self.contains[key]:
                if getattr(item, "liquid_type", None):
                    return item
        return None
Returns the first liquid found in the `contains`, or None
Returns the first liquid found in the `contains`, or None
Returns the first liquid found in the ` contains ` or None
def containsLiquid(self):
        for key in self.contains:
            for item in self.contains[key]:
                if getattr(item, "liquid_type", None):
                    return item
        return None
def containsLiquid ( self ) : for key in self . contains : for item in self . contains [ key ] : if getattr ( item , "liquid_type" , None ) : return item return None
Returns the first liquid found in the `contains`, or None
Returns the first liquid found in the ` contains ` or None
"""Returns the first liquid found in the `contains`, or None"""
self