I'm aware of a similar question, but that refers to ? used in function definitions with a set pattern (pinned).
I looked up the implementation of lib.makeOverridable and came across this line:
${if result ? overrideAttrs then "overrideAttrs" else null} = fdrv:
(Also learned that this kind of dynamic assignment is possible, so that's a bonus.)