def is_digit(value):
    """Check if a string value is a float.

    This function comes in as more flexible than the implementde isdigit()
    function, as it also enbales to check for floats and not just integers.

    Args:
        value (str) : Chain of character that may contain something else than
        a digit or a dot.

    Returns:
        Boolean.

    """
    if isinstance(value, list):
        return False

    try:
        float(value)
        return True
    except:
        return False