A justice of the peace shall have the powers and perform the duties prescribed by law.
A.R.S. § 22-112