'generated source for method equals'

def __eq__(self, p_other):

    if (self is p_other):
        return True
    if ((p_other is None) or (not isinstance(p_other, (UnderComp,)))):
        return False
    l_theOther = p_other
    if (self.m_conId != l_theOther.m_conId):
        return False
    if (self.m_delta != l_theOther.m_delta):
        return False
    if (self.m_price != l_theOther.m_price):
        return False
    return True
