No, it's not, a militia is a way of providing a military. (The second amendment is grounded in the idea, alluded to but not explicitly stated in its preamble, that it is essential to freedom for a militia mobilized at need to be the exclusive way for providing a military, including armed domestic security services, beyond a minimal peacetime cadre for training and continuity; it isn't to guarantee freedom by providing a competing armed force to professional ones but instead by preventing the government from adopting professional forces in the first place. It, to be sure, has failed entirely in that goal.)
That broke down significantly progressively after WWII, as the US transitioned to what is effectively a fully professional army.