Fix session function warning
this should fix #89 (closed) and make the whole conditional more readable/less error prone.
@d.serson which warning does gcc throw? I wonder if the compiler interpreted this as if (LibUtilities::eFunctionTypeTransientFile)
or as (vType == LibUtilities::eFunctionTypeTransientFile)