I am not sure if this is the right place to post a suggestion…but according to what I see, I think it is.
duck => Is eat() defined here? No.
Bird => Is eat() defined here? => Yes. Execute it and stop searching.