Wouldn’t have stopped James Eagan Holmes, but that’s not its purpose, anyway.
And the Columbine killers were not old enough yo purchase the guns they had either.