def METHOD_NAME(dct, basename, excluded=None):
    """
    get a dictionary of (basename-prefixed) dictionary elements,
    excluding the excluded names.
    :param dct: the dict to inspect
    :param basename: the prefix for the names in the result dictionary
    :param excluded: excluded dictionary keys [set or list]
    :return: dict names: values
    """
    if excluded is None:
        excluded = set()
    names = set(dct) - set(excluded)
    return dict((basename + name, dct[name]) for name in names)