An act, done with specific intent to commit an offense under this code, amounting to more than mere preparation and tending, even though failing, to effect its commission, is an attempt to commit that offense.

Source: SL 2012, ch 175, § 224.