def METHOD_NAME(self, key, value, indent=0):
    if value is None:
        return
    if isinstance(value, list):
        value = " ".join(filter(None, value))  # Filter out empty strings.
    self._line(f"{key} = {value}", indent)