add judge flag in Function data type to judge whether it is embed function