I want to give proper type hints to the following function:
def convert(value): if isinstance(value, str):