That isn't what was found by DC v Heller.
...however in the absence of militias in the US today, it makes sense that even if that requirement was initially envisioned (which is very debatable), it's no longer reasonable.
It's historically interesting to note that different versions of the amendment were ratified, both including and not including that last comma.