The summary says that it works if it is a measurable function [0], which is structure preserving. So sha256 would scramble the input too much for it to be detected here.
Technically this may not always be the case but it's very hard to construct a convincing counter example.