Text this: On a functional equation related to a generalization of Flett's mean value theorem