Comment on Bird

<- View Parent
marcos@lemmy.world ⁨1⁩ ⁨week⁩ ago

Yes.

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

source
Sort:hotnewtop