is this a trap

Saw this while out walking and a foot path alongside the field with a horse grazing.

Its big enough for a small pony to enter or a stray dog or sheep.

bit worried that a nosy child could get hurt.

What do you think.        Ray

      

         a good laugh is better than a tonic