(a) At any time before the attachment is sustained, the defendant, upon reasonable notice to the plaintiff or the plaintiff's attorney, may move the court to discharge the attachment, the hearing of which may be postponed by the court, upon sufficient cause, from time to time.
(b) Upon the hearing, if the court is of the opinion that the attachment was obtained without sufficient cause or that the grounds of attachment being controverted are not sustained, the attachment shall be discharged.