When entering the United States of America and probably other countries, one of the questions asked is: “Have you been on a farm recently?”.
When hiking in England or neighbouring countries, the footpath or public right of way frequently crosses a field that is shared with sheep or cows.
I have recently hiked in England and in neighbouring countries. During those hikes, I have crossed fields with sheep or cows¹. Does that by itself mean I should answer “yes” to the question “Have you been on a farm recently”? I'm not sure if pastures or rangeland counts as a farm. Rangeland in some countries, such as in northern Scandinavia, is very extensive and lightly grazed, with the situation not very different from grazing by wild animals.
¹I have since cleaned my boots.