def remove_subject(subject, metric, dict_exclude_subj):
    """
    Check if subject should be removed
    :param subject:
    :param metric:
    :param dict_exclude_subj: dictionary with subjects to exclude from analysis (due to bad data quality, etc.)
    :return: Bool
    """
    if metric in dict_exclude_subj.keys():
        # remove single subject (e.g., sub-geneva02)
        if subject in dict_exclude_subj[metric]:
            return True
        # remove all subjects for given site (e.g., fslAchieva)
        elif subject[4:-2] in dict_exclude_subj[metric]:    # subject[4:-2] extract only site from subject
            return True
    return False