(a) The defendant, the attorney representing the defendant, or the attorney representing the state may move that the court determine that the defendant has been restored to competency.
(b) A motion for a determination of competency may be accompanied by affidavits supporting the moving party’s assertion that the defendant is competent.