No person owning, harboring or having the custody of a dog, whether or not tagged or licensed, shall permit, suffer or allow any such dog to run or be at large in the City. The phrase "at large" shall mean:
A.
That such dog is unaccompanied by a person competent to control and having control of such dog by means of a restraining device, chain or leash not exceeding eight feet in length; or
B.
If such dog is being transported by the owner, that it is not securely confined in a crate or other container or so restricted in a vehicle that it cannot escape therefrom.