Whenever any person is charged with a violation of this code, it is a sufficient defense to such charge if it appears that in a criminal prosecution in another state or by the Federal Government, founded upon the act or omission in respect to which he is on trial, he has been convicted or acquitted.
(Enacted by Stats. 1959, Ch. 3.)