It is the duty of the county clerk to see that the provisions of this article relating to occupation taxes are observed and to summon all violators of such provisions to appear before the court. It is further the duty of the sheriff's department and his deputies to inspect all registrations issued by the county, as often as in their judgment it may seem necessary to determine whether the registration held is the proper one for the business sought to be transacted.