HelpMethods.TypesAreEqual(..) is a boolean funtion.

I don't think so. Maybe there is a plugin