triqs.mesh.meshes.MeshDLRImFreq.is_index_valid

MeshDLRImFreq.is_index_valid()

Dispatched C++ function(s).

[1] (l: int)
  -> bool

Check if an index \(l\) is valid.

Parameters:
lint

Index \(l\) to check.

Returns:
bool

True if \(0 \leq l < N\), false otherwise.