Hilda Cervantes pleaded guilty to one misdemeanor count of making a false statement with intent to defraud the United States Department of Housing and Urban Development (HUD). See 18 U.S.C. § 1012 (2000). The District Court 1 *794 ordered Cervantes to pay more than $20,000 in restitution to HUD, sentenced her to five years of probation, and imposed a condition of probation requiring her submission to mandatory drug testing. Cervantes appeals the imposition of mandatory drug testing as a condition of her probation. Because Cervantes’s appeal is barred by the language of the appeal waiver contained in her plea agreement, her appeal is dismissed.
The facts of this case are remarkably similar to
United States v. Andis,
in which we held that a defendant whose plea agreement contained a valid appeal waiver could not appeal his conditions of supervised release.
Cervantes’s plea agreement states that she waived “any right to raise on appeal or collaterally attack any matter pertaining to this prosecution and sentence if the sentence imposed is consistent with the terms of this agreement.” Plea Agreement at 8, ¶7^). The plea agreement specifies that if Cervantes is not in custody, she “shall comply with all terms and conditions of her release.” Id. at 4, ¶ 2(k) (emphasis added). The plea agreement also recognizes that conditions of probation might be imposed at sentencing. Id. at 12. Thus, the conditions of probation imposed at sentencing are consistent with the terms of Cervantes’s plea agreement and, consequently, fall within the scope of her appeal waiver.
Further, Cervantes’s plea agreement states that her guilty plea was “voluntary” and not coerced. Id. The agreement also states that Cervantes discussed the case and her rights with her attorney and that she was advised of the nature and range of her possible sentence. Id. at 11. The District Court confirmed that Cervantes had reviewed the provisions of the plea agreement with her attorney, Change of Plea Hr’g Tr. at 16, 19, and the court confirmed Cervantes’s intent to waive any appeal of her sentence, id. at 24-25; see also Sent. Tr. at 12. The appeal waiver in her plea agreement was therefore knowing and voluntary.
Cervantes argues that the condition of probation requiring her submission to mandatory drug testing is a greater deprivation of her liberty than is reasonably necessary because the condition is unrelated to her offense or personal histo
*795
ry. Even construing this as a challenge to her appeal waiver — i.e., that as a result of the enforcement of her appeal waiver, the imposition of the probation condition will constitute a miscarriage of justice — her argument is foreclosed by
Andis.
The appellant in
Andis
claimed that the conditions of his supervised release constituted an “illegal sentence,”
There is little reason to distinguish between the supervised-release conditions at issue in
Andis
and the probation condition at issue here, except to note that periodic drug testing is a
mandatory
condition of probation,
see
18 U.S.C. § 3563(a)(5) (2000); U.S. Sentencing Guidelines Manual § 5331.3(a)(5) (2003);
see also United States v. Cooper,
Further, were we to consider Cervantes’s appeal, we would reject her argument on its merits. Absent her appeal waiver, we would review the imposition of the probation condition for abuse of discretion.
See Andis,
Cervantes did not dispute the facts contained in the Presentence Investigation Report (PSR), and therefore she is deemed to have admitted those facts for purposes of sentencing.
United States v. McCully,
To sum up, if Cervantes had not waived her right to appeal her sentence, her appeal would be meritless and the sentence would be affirmed. But because Cervantes waived the right to appeal her sentence, her appeal is dismissed.
Notes
. The Honorable Franklin L. Noel, United States Magistrate Judge for the District of Minnesota. See 28 U.S.C. § 636(a)(5) (2000) (authorizing United States magistrate judges, with the consent of the parties, to sentence offenders who have committed class A misdemeanors). The offense to which Cervantes pleaded guilty is a class A misdemeanor. See 18 U.S.C. §§ 1012, 3559(a)(6) (2000). Though the consent of the parties does not expressly appear in the record on appeal, § 636(a)(5) does not require the consent to be *794 in writing. The docket entries show that the case was assigned to Judge Noel ab initio, all the proceedings were conducted by him, and no objection ever was made, either in the District Court or on appeal, to his role as the sentencing judge. We find no reason for doubting that the consent of the parties was given, either expressly or by clear implication, to his serving as the sentencing judge. We urge counsel in future cases to assist the Court by affirmatively pointing out in their appellate briefs whether or not the requisite consent was in fact given where a magistrate judge performs the sentencing function under 28 U.S.C. § 636(a)(5) (2000), and by including in the record on appeal the material that shows such consent. Because the question of consent vel non is jurisdictional, and we have an independent duty to make sure we have jurisdiction, litigants and magistrate judges should not brush over the matter lightly.
. One must keep in mind the "threefold imperative” of statutory interpretation taught by Justice Felix Frankfurter as a professor at Harvard Law School before he took the bench: "(1) Read the statute; (2) read the statute; (3) read the statute!”
In re England,
. The cases on which Cervantes relies are distinguishable because they concern
discretionary
conditions of supervised release that are indeed subject to the statutory constraint that Cervantes seeks to impose on her mandatory condition of probation.
See, e.g., United States v. Scott,
