yes there is and it comes preprogrammed (unless you have the atmega32U2RC, which is the special version that comes blank). If you put the HWB pin in a certain state (can't remember which, it's in the datasheet), it will wake up in bootloader mode. You can then use Atmel FLIP or dfu-programmer depending on your operating system.