def __eq__(self, other):
    if (other is None):
        return ((self.url_name and self.click_css_selector) or ((not self.url_name) and (not self.click_css_selector)))
    elif (vars(other) == vars(self)):
        return True
    else:
        super.__eq__(self, other)
def __eq__(self, other):
    if (other is None):
        return ((self.url_name and self.click_css_selector) or ((not self.url_name) and (not self.click_css_selector)))
    elif (vars(other) == vars(self)):
        return True
    else:
        super.__eq__(self, other)