The goal of a ketogenic diet is to keep insulin levels low to prevent the insulin from storing fat.
Whey is insulinemic, and as little as 20g keeps insulin levels elavated for hours.
Should whey protein be avoided then if you're trying to cut down?