def _present_perm_set_for_subj(self, perm_dict, subj_str):
        """Return a set containing only the permissions that are present in the
        ``perm_dict`` for ``subj_str``"""
        return {p for p, s in list(perm_dict.items()) if subj_str in s}
Return a set containing only the permissions that are present in the
        ``perm_dict`` for ``subj_str``