When a complaint is presented to a court charging a person with the commission of an offense, the court shall examine the sworn complaint or any affidavits, if filed, to determine whether probable cause exists to allow the filing of a charge.
§ 46-11-110, MCA