If it’s a USB-C charger, as most Chromebook chargers are now, you can plug it into another device that charges via USB-C and see if the device detects it. If you have a barrel plug charging ...