Fix  foam.core.XFactory cannot be converted to boolean
Fix  foam.core.XFactory cannot be converted to boolean

foam-framework/foam2,TanayParikh/foam2,TanayParikh/foam2,foam-framework/foam2,foam-framework/foam2,foam-framework/foam2,TanayParikh/foam2,jacksonic/vjlofvhjfgm,jacksonic/vjlofvhjfgm,TanayParikh/foam2,jacksonic/vjlofvhjfgm,foam-framework/foam2