private boolean getMagnifyingMode() {
    // ESCA-JAVA0254: Can not improve the loop to for-each
    for (final Iterator<?> iter = m_graph.getView().getViewModes(); iter.hasNext(); ) {
      if (iter.next() == m_magifierViewMode) {
        return true;
      }
    }

    return false;
  }
Determines whether magnifying mode is active or not.

@return True, if magnifying mode is active. False, otherwise.
java/zylib/src/main/java/com/google/security/zynamics/zylib/yfileswrap/gui/zygraph/editmode/ZyEditMode.java