parameters: (self, op)
return_statement: return outer_while_context == control_flow_util.GetContainingWhileContext(
          self._outmost_context)
docstring: Returns true if the op is at the same level with the training loop.
  
      Returns false if the op is in an inner while loop or if it is outside of the
      training loop.
      Args:
        op: tf.Operation
  
      Returns:
        A boolean.
docstring_summary: Returns true if the op is at the same level with the training loop.
docstring_tokens: Returns true if the op is at the same level with the training loop .
function: def _is_in_outmost_while_loop(self, op):
      """Returns true if the op is at the same level with the training loop.
  
      Returns false if the op is in an inner while loop or if it is outside of the
      training loop.
      Args:
        op: tf.Operation
  
      Returns:
        A boolean.
      """
      ctxt = self._get_op_control_flow_context(op)
      outer_while_context = control_flow_util.GetContainingWhileContext(ctxt)
      return outer_while_context == control_flow_util.GetContainingWhileContext(
          self._outmost_context)
function_tokens: def _is_in_outmost_while_loop ( self , op ) : ctxt = self . _get_op_control_flow_context ( op ) outer_while_context = control_flow_util . GetContainingWhileContext ( ctxt ) return outer_while_context == control_flow_util . GetContainingWhileContext ( self . _outmost_context )