def is_numeric(value=''):
    """
    Check if the value is numeric.

    Parameters
    ----------
    value : str
        Value to check.

    Returns
    -------
    boolean
        Whether the value is numeric.
    """
    if isinstance(value, str):
        try:
            float(value) if '.' in value else int(value)
        except ValueError:
            return False
    return True
