No owner or custodian of any animal in heat shall permit the animal to roam free. Such animal shall be confined in a building or securely enclosed in a manner that shall not allow contact with a nonneutered male animal except for planned breeding.