Hello Markus,
If yaw, pitch, roll angles are loaded to the Reference pane, you can get measured (source) angle values by calling:
yaw, pitch, roll = camera.reference.rotation
So if you loop over all the cameras you can just disable (camera.enabled = False) the cameras which have absolute pitch / roll angle values over some threshold.