Checking function unit existence before to create the unit