2010 Cadillac CTS - Worried about battery

Stupid question but does the auto part charger attach to inaccessible battery