Of course he had, Keita was seeking contact in and off-ball situation.
If it had been Luis Fabiano he would have gotten knocked in the face, Kaka did nothing wrong, is he just supposed to let him run over him. Wasn't like Kaka moved towards his sprinting line.
Kaka punched him.