def check_ALL_DS(DS_ES_X_Map):
    """
    ES used with ALL as DS can not be used with any other DS.
    This function checks if this is true.
    """
    ES_with_ALL = [row[1] for row in DS_ES_X_Map if row[0] == "ALL"]
    ES_without_ALL = [ES for ES in ES_with_ALL
                      for row in DS_ES_X_Map if row[0] != "ALL"]
    return len(ES_without_ALL) == 0