code: def y_coordinate_equality(plot_data_func, evalf_func, system):
      """Checks whether the y-coordinate value of the plotted
      data point is equal to the value of the function at a
      particular x."""
      x, y = plot_data_func(system)
      x, y = _trim_tuple(x, y)
      y_exp = tuple(evalf_func(system, x_i) for x_i in x)
      return all(
          Abs(y_exp_i - y_i) < 1e-8 for y_exp_i, y_i in zip(y_exp, y)
      )
  
imports: from math import isclose
  from sympy.core.numbers import I
  from sympy.core.symbol import Dummy
  from sympy.functions.elementary.complexes import Abs, arg
  from sympy.functions.elementary.exponential import log
  from sympy.abc import s, p, a
  from sympy.external import import_module
  from sympy.physics.control.control_plots import pole_zero_numerical_data, pole_zero_plot, step_response_numerical_data, step_response_plot, impulse_response_numerical_data, impulse_response_plot, ramp_response_numerical_data, ramp_response_plot, bode_magnitude_numerical_data, bode_phase_numerical_data, bode_plot
  from sympy.physics.control.lti import TransferFunction, Series, Parallel, TransferFunctionMatrix
  from sympy.testing.pytest import raises, skip
label_desc: Use image node_id 3 for calling a global function with example usage: y_coordinate_equality(plot_data_func, evalf_func, system) and returns: all