It is the duty of the office of the building inspector to see that the sections of this article relating to occupation taxes are observed and to summon all violators of this article to appear before the magistrate court. It is the further duty of the office of the building inspector to inspect all licenses issued by the county, as often as in his judgment it may seem necessary, to determine whether the license held is the proper one for the business sought to be transacted under the license.