It was decided by many a century ago. The ban extended from eastern cities to the west where sheriffs most famously in Dodge City Kansas decreed that guns must be surrendered. You can’t carry a gun in my town said the sheriff
At the time I know of no constitutional challenge to the sheriffs. The19th century law enforcers turned a blind eye to the constitutional right to bear arms
Until the US Supreme Court incorporated the 2nd Amendment, via the 14th Amendment, into Constitutional restrictions on the States, the States were not bound by the 2nd Amendment.
This isn’t then it is now. The edge is very close