Yes, it is called animal hygiene, in case they are carrying diseases, that could transmit to others. At the moment we have an outbreak of bird flu, so you would not be able to walk your parrot past a chicken farm, but nobody told the sparrows of course.
Have you noticed how few sparrows there are these days?
@Jolanta Yes it is very sad. When I was a child in the UK, growing up around farms and villages, the "cheap cheap" of sparrows, was the perminant background sound track to our days. Now you rarely hear them. I am told that in part, it is due to modern farm practices, farm hygiene means that there is no spilled grain about these days, so they have lost a major food source.