yes they can tell if your ecu has been flashed. having a stage 2 flash doesn't automatically void the warranty.
since you have an 07, it is very highly recommended that you get some sort of tuning (cobb stage 1, openecu stage 1) on it before you start doing any mods.