official detention

(5) the term “official detention” means— (A) detention by a Federal officer or employee, or under the direction of a Federal officer or employee, following arrest for an offense; following surrender in lieu of arrest for an offense; following a charge or conviction of an offense, or an allegation or finding of juvenile delinquency; following commitment as a material witness; following civil commitment in lieu of criminal proceedings or pending resumption of criminal proceedings that are being held in abeyance, or pending extradition, deportation, or exclusion; or (B) custody by a Federal officer or employee, or under the direction of a Federal officer or employee, for purposes incident to any detention described in subparagraph (A) of this paragraph, including transportation, medical diagnosis or treatment, court appearance, work, and recreation; but does not include supervision or other control (other than custody during specified hours or days) after release on bail, probation, or parole, or after release following a finding of juvenile delinquency;

Source

18 USC § 2246(5)


Scoping language

As used in this chapter
Is this correct? or