Add a bound method `validate` to functions decorated with `validate_arguments` to validate parameters without actually calling the function