def test_sympy_parents(sympy_cls: str, parents: tuple) -> bool:
    """
    Returns True if 'sympy_cls' is in 'bases'.
    False, otherwise.
    """
    return any([sympy_cls in str(parent) for parent in parents])