def isfloat(value: str) -> bool:
    """
    Check if the given string is a float.

    :param value: String to check
    :return: True if float
    """
    try:
        float(value)
        return True
    except ValueError:
        return False