It is unlawful for any person, firm or corporation to stable, pasture or keep, or cause to be stabled, pastured or kept, within fifty feet of any property line, any uncastrated equine. Any uncastrated equine so kept shall be confined by an enclosure with a minimum height of six feet that is constructed in such a manner as to prevent the animal's escape.