Added FunctionExists checker