code: def is_self_join(tsA, tsB):
      """
      Helper function to determine if a self join is occurring or not. When tsA
      is absolutely equal to tsB, a self join is occurring.
  
      Parameters
      ----------
      tsA: Primary time series.
      tsB: Subquery time series.
      """
      return tsB is None or np.array_equal(tsA, tsB)
  
file_path: matrixprofile-ts/matrixprofile/utils.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import numpy
  import numpy.fft
label_desc: Use image node_id 10 for calling a global function with example usage: is_self_join(tsA, tsB) and returns: unknown