Comment on Bird

<- View Parent
marcos@lemmy.world ⁨4⁩ ⁨weeks⁩ ago

Yes.

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

source
Sort:hotnewtop