Is flux in solder?

In some solder it is. But even if it is in the solder you should still use flux.