def add_needed_replica(self, rep):
        """Method to add a NC replica that "should be present" to the
        needed_rep_table if not already in the table
        """
        if not self.needed_rep_table.keys() in rep.nc_dnstr:
            self.needed_rep_table[rep.nc_dnstr] = rep
dataset/ETHPy150Open byt3bl33d3r/pth-toolkit/lib/python2.7/site-packages/samba/kcc_utils.py/DirectoryServiceAgent.add_needed_replica/swapped operands of `in`