def isa(self, other):

        m = self
        while m and m is not other:
            m = m.inherits
        return bool(m)
Return True if the this mapper inherits from the given mapper.
dataset/ETHPy150Open goFrendiAsgard/kokoropy/kokoropy/packages/sqlalchemy/orm/mapper.py/Mapper.isa