Add example to regen keys
Check if the kwarg is a valid kwarg name