The council in said cities is authorized and empowered to require the installation of sprinkler systems in the basements of buildings hereafter erected or altered, to be used for stores, factories, or warehouses, in which the city council may determine such sprinkler systems to be necessary.
53 P.S. § 14552