class_docstr: Implement a gradient descent algorithm.
docstr: Implement a terminating condition.
code: def is_done(self):
      """Implement a terminating condition."""
      dx = self.learning_rate * numpy.sqrt(
          self.gradient.dot(self.gradient)
      )
      return dx <= self.dx_tolerance
  
file_path: orion/tests/functional/gradient_descent_algo/src/orion/algo/gradient_descent.py
imports: import numpy
  from orion.algo.base import BaseAlgorithm
  from orion.core.utils import format_trials
label_desc: Use image node_id 4 for calling the Gradient_Descent obj's underlying member method code with example usage: obj.is_done() and returns: unknown