Likewise, this could probably be `if self.print_settings.get("resolution"):`, unless there's an edge case I'm not considering.