Comparing two functions without invoking them

Made a standalone post since this question about the handling of contextual functions seems unique enough. Not just for comparison checks, but avoiding invocation them in general. Preventing invocation of contextual functions referenced