from typing import Dict


def double_precision_func(x: str, _: Dict) -> bool:
    """Tests if the string is a valid double precision"""
    if x == "":
        return True
    try:
        float(x)
        return True
    except:  # noqa
        return False