It shall be unlawful for any person or owner having custody or control of a female animal that is in season to fail to confine such female animal so as to prevent contact with a male animal, except for intentional breeding purposes.