def _is_interpolation(self) -> bool: return _is_interpolation(self._value())
def test_is_interpolation(self, type_: Callable[..., Any], input_: Any, expected: bool) -> None: value = type_(input_) if input_ != "DEFAULT" else type_() assert _utils._is_interpolation(value) == expected