Whenever, hereafter, any dispute shall arise between any township, city, borough, or other municipal corporation of this State, having authority under the law to charge a license fee against any telegraph, telephone, light, power, street passenger railway, motor traction, gas, or water company, occupying the highways of such municipality with its poles, wires, conduits, or cables, as to whether or not the amount of license fee, named in any ordinance of said municipal corporation, for the inspection and regulation of the said poles, wires, conduits, or cables, under its police power, is or is not reasonable, either party may apply, by petition, to the court of common pleas of the county where said municipal corporation is situated, to determine the said dispute.
72 P.S. § 6161