Not really. We have more problems with owner occupied homes than rentals where I live.
Anytime I rent to a new tenant, I have to get an inspection by the city. They inspect inside, outside, garage, walkways, basement, backyard. Any violations I have to get repaired before they allow the new tenant to move in, and I have to get it re-inspected before I get the occupancy permit.
Some landlords don't keep their property up as they should, but that goes double for homeowners. The city cites anybody not keeping up their rental property or home. If the lease is made out for the tenant to keep up the property, that's between landlord and tenant. If the landlord doesn't have such an agreement with the tenant, then the landlord is responsible. Either way it's ultimately the landlords responsibility and the city needs to enforce their laws and ordinances.