https://en.wikipedia.org/wiki/Chinese_room
This is also similar to the Duck Test:
https://en.wikipedia.org/wiki/Duck_test
Depending on the context, there are generally two takes: "It is (or is not) a duck", and "It doesn't (or does) matter whether or not it's a duck". These aren't mutually exclusive.