📅  最后修改于: 2022-03-11 14:46:22.176000             🧑  作者: Mango
class haircontrols:
def isithair( self, item ):
badnames = ("eye", "tongue", "teeth", "hat", "mask", "veil" )
return True if not any(badname in item.InternalName().casefold() for badname in badnames) else False