Allow condition to be a function in aif.
Allow condition to be a function in aif.

mdittmer/foam,foam-framework/foam,jlhughes/foam,osric-the-knight/foam,jacksonic/foam,jacksonic/foam,osric-the-knight/foam,foam-framework/foam,jlhughes/foam,osric-the-knight/foam,jacksonic/foam,foam-framework/foam,mdittmer/foam,jlhughes/foam,jlhughes/foam,foam-framework/foam,jacksonic/foam,mdittmer/foam,foam-framework/foam,mdittmer/foam,osric-the-knight/foam