def has_inherited_table(cls):
    for class_ in cls.__mro__[1:]:
        if getattr(class_, '__table__', None) is not None:
            return True
    return False
Pull the version part out of a string.
dataset/ETHPy150Open zzzeek/sqlalchemy/lib/sqlalchemy/ext/declarative/api.py/has_inherited_table--crossover with--dataset/ETHPy150Open pypa/pip/pip/index.py/egg_info_matches