My dog's not as obidient as either of yours but enough where i can walk her without a leash, and she won't take off after squirrels

she knows what she can and can't do.. only thing is if she's on the street she'll run up to someone to see if they'll pet her.
you'd think she was deprived