Fix IsPublicFunction.Evaluate according to the report of @bignoncedric