# cirq.is_measurement¶

cirq.is_measurement(val: Any) → bool[source]

Returns whether or not the given value is a measurement.

A measurement must implement the measurement_key protocol and have a
channel, as represented by the has_channel protocol returning true.