Comment on Bird

<- View Parent
marcos@lemmy.world ⁨2⁩ ⁨months⁩ ago

Yes.

if 'is_eating_birdseed' in obj.__dir__() and obj.is_eating_birdseed:
    return 'Is duck!'

source
Sort:hotnewtop