def get_is_ntuples(dic):
    """
    Determine data class from dic: XYDATA or NTUPLES
    """
    is_ntuples = False
    try:
        dataclass = dic['DATACLASS'][0]
        if dataclass.strip() == 'NTUPLES':
            is_ntuples = True
    except KeyError:
        pass
    return is_ntuples
