Add check for function_exist for common functions (direve/lis)