def METHOD_NAME(self, **kwargs):
    if kwargs:
        assert (
            set(kwargs.keys()) == self.supp_kwargs
        ), "following set of keyword args is required: %s" % (self.supp_kwargs)
    return kwargs