Override a function which is not in class and whitelisted

Possible using monkey patch.

Reference: