A dog shall be on a leash and under the control of a competent person while off of its owner's property. This shall include all public areas and parks, except in county parks that are specifically designated as off leash areas; unattended on or about the common property of any multifamily residential dwelling complex community; or on the property of another person without permission of the owner of that property. This shall also apply to dogs engaged in an approved dog show, agility, or other event requiring the dog to perform while off leash but under the control of the handler. This section shall not apply to dogs being used for hunting in accordance with state law, rules and regulations, or dogs engaged in police activity.