It is against the law to attempt to break any law in title 9 of the code (public peace, morals, and welfare).
9.01.030 Attempted violation prohibited. A. It shall be a violation for any person to attempt to fail to obey or comply with any provision of Title 9 offenses.