code: def set_property(key, value):
      
      def decorate_func(func):
          setattr(func, key, value)
          if func.__doc__ and key == "fctype":
              func.__doc__ = func.__doc__ + "\n\n    *This function is of type: " + value + "*\n"
          return func
      return decorate_func
docs: This method returns a decorator that sets the property key of the function to value