def _isKnownDuo(sample_project, spike_entity_id, config):
    """Checks if trio is a known duo, i.e. missing samples won't be available in the future.

    Parameters
    ----------
    sample_project : str
    spike_entity_id : str
    config : dict()
        Snakemake configuration.

    Returns
    -------
    Boolean: True, if spike_entity_id is in config list of known duos for given project.
    False, otherwise.
    """
    if 'projects' in config:
        if sample_project in config['projects']:
            if 'known_duos' in config['projects'][sample_project]:
                if spike_entity_id in config['projects'][sample_project]['known_duos']:
                    return True
    return False