(a) At the time named in the notice, the parties signing the petition and any other parties owning lots or blocks in the platted lands not abutting on the streets, alleys, or roadways, or portions thereof, to be vacated or otherwise affected by the vacation shall be heard; and the court shall determine whether the streets, alleys, roadways, or portion thereof, should be vacated as proposed in the petition.
(b) No street, alley, or roadway, or portion thereof, shall be vacated if the court finds that it would be against the interest of the public or that no means of ingress and egress would be left to any lots in the addition not abutting on them, unless the owners of the lots file their written consent to the vacation with the court.