The magistrate judge determines if there was a crime committed and if there is probable cause (a reasonable ground for supposing that a charge is well-founded) that the suspect was involved with the crime. what is this called

This is called a preliminary hearing.