def METHOD_NAME(self, used_args, args, kwargs):
    # Track which arguments actually got used
    unused_args = set(kwargs.keys())
    unused_args.update(range(0, len(args)))
    for arg in used_args:
        unused_args.remove(arg)
    if unused_args:
        raise ValueError("unused arguments")