pub fn try_option(value: &PyAny) -> PyResult<Option<Literal<String>>>