mental soundness