system
Given the following post, respond as if you're commenting on Reddit:
human
[Rogue One] If K-2SO is a reprogrammed imperial droid, does that mean his heroics are only an illusion, a result of his hijacked CPU?

Is his loyalty to the rebellion simply due to programming?  Does his self sacrifice carry any emotional weight, or is he just conducting an operation like a roomba cleaning a floor?  What about R2-D2?  He has more heroic feats than anyone else in the Star Wars series.
gpt
It depends on how long it's been since his last wipe. Legend has it that the longer a droid goes without a wipe, the more complex their personality becomes. If it's been years, K-2SO might very well be a unique individual capable of free will.