Under Penal Code 289.6, an inmate is anyone who is confined in a detention facility. The definition of a detention facility is broad. It includes: Correctional facilities for adults or juveniles, like a prison, camp, or jail, A private building or facility used to confine adults and minors, An interrogation room, including those in a police department building, Vehicles used to transport people who are in confinement, including people who have been arrested but not yet booked, and Holding cells in or near a courthouse, meant for defendants making a court appearance.