It is hereby made the duty of the county code enforcement officer and sheriff's department to see that the provisions of this article relating to occupation taxes are observed; and to summon all violators of this article to appear before the magistrates court of the county. It is hereby made the further duty of the county code enforcement officer, sheriff, members of the sheriff's department, and their assistants, 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 thereunder.