def BM_elements(predicate, expr, assumptions):
    return all(ask(predicate(b), assumptions) for b in expr.blocks)
Block Matrix elements
dataset/ETHPy150Open sympy/sympy/sympy/assumptions/handlers/matrices.py/BM_elements