Ariz. Rev. Stat. § 32-1183
C. Nothing in this section prevents the contractor or subcontractor, at the time of application or certification to the owner or contractor, from withholding such application or certification to the owner or contractor for payment to the subcontractor or material supplier for any of the following reasons: