An attempt to commit an act prohibited by the ordinances in this
chapter requires that the actor have an intent to perform acts and
attain a result which, if accomplished, would constitute a violation
of these ordinances and that he/she does acts towards the commission
of the violation which demonstrate unequivocally, under all the circumstances,
that he/she formed that intent and would commit the violation except
for the intervention of another person or some other extraneous factor.