def METHOD_NAME(item, attr):
    val = getattr(item, attr, None)
    if isinstance(val, toga.Widget):
        warn("This backend does not support the use of widgets in cells")
        val = None
    if isinstance(val, tuple):
        val = val[1]
    if val is None:
        val = self.interface.missing_value
    return str(val)