def is_number(item: str) -> bool:
    """Return True if the string is a number, False otherwise.
    """
    try:
        float(item)
        return True
    except TypeError:
        return False
    except ValueError:
        return False