(a) A person attempts to commit an offense if, with the purpose of aiding another person in the commission of the offense, the person engages in conduct that would establish his or her complicity under § 5-2-402 if the offense were committed by the other person.
(b) It is not a defense to a prosecution under this section that:
(1) The other person did not commit or attempt to commit an offense; or
(2) It was impossible for the actor to assist the other person in the commission of the offense if the actor could have assisted the other person had the attendant circumstances been as the actor believed them to be.