def METHOD_NAME(self, new_cond):
    """Check if the condition that same with old input.
    The new condition's
    information will be updated to the 'condition' attribute.
    Parameters
    ----------
    new_cond : dict
        New condition for selection.
    """
    condition_chg = {}
    condition_unchg = {}
    if not hasattr(self, "condition"):
        self.condition = new_cond
        condition_chg = new_cond
    else:
        old = set(self.condition.items())
        new = set(new_cond.items())
        # Get the condition entries have not been changed
        unchg = set.intersection(old, new)
        # Get the condition entries have been changed
        chg = new - old
        condition_chg = dict(chg)
        condition_unchg = dict(unchg)
        self.condition.update(dict(chg))
    return condition_unchg, condition_chg