public override void SetFunction(Func <double, double> func)
 {
     Console.WriteLine($"Function has been set");
     Decoratee.SetFunction(func);
 }