triqs.gfs.descriptor_base.is_lazy

triqs.gfs.descriptor_base.is_lazy(y)[source]

Whether y is a descriptor or a lazy expression.

Parameters:
yobject

Value to test.

Returns:
bool

True iff y is an instance of Omega_, LazyExpr or LazyExprTerminal.