def check_defined(CaMap, SourceReference, CCT):
    'Checks whether the character counter type has been defined in the \n    map.\n    \n    THROWS: Error in case that is has not been defined.\n    '
    for (character_set, info) in CaMap:
        if (info.cc_type == CCT):
            return
    error.warning(("Setup does not define '%s'." % cc_type_name_db[CCT]), SourceReference, SuppressCode=NotificationDB.warning_counter_setup_without_newline)
Checks whether the character counter type has been defined in the 
map.

THROWS: Error in case that is has not been defined.
def check_defined(CaMap, SourceReference, CCT):
    'Checks whether the character counter type has been defined in the \n    map.\n    \n    THROWS: Error in case that is has not been defined.\n    '
    for (character_set, info) in CaMap:
        if (info.cc_type == CCT):
            return
    error.warning(("Setup does not define '%s'." % cc_type_name_db[CCT]), SourceReference, SuppressCode=NotificationDB.warning_counter_setup_without_newline)