The People's Republic of Boulder passed a ban on "assault weapons' that prohibits the most popular self-defense firearms. Can it do that?

Question Title

* 1. The People's Republic of Boulder passed a ban on "assault weapons' that prohibits the most popular self-defense firearms. Can it do that?

T