`dict.pop` supports an optional default, so this can just be `overwrite = kwargs.pop('overwrite', False)`