How could a scientist determine if a behavior is an instinct or is learned?

A scientist could determine if a behavior is an instinct or is learned in a few ways. One way is to see how the animal reacts with no other animal in sight.