docstr: Test if function is_correlated gives same result as function get_correlation_result
  when there is a correlation.
docstr_tok: ["Test","if","function","is_correlated","gives","same","result","as","function","get_correlation_result","when","there","is","a","correlation","."]
code: def test_if_correlate(self):
      """
      Test if function is_correlated gives same result as function get_correlation_result
      when there is a correlation.
      """
      self.assertEqual(
          True, self.correlator2.is_correlated() is not None
      )
      self.assertEqual(
          self.correlator2.get_correlation_result(),
          self.correlator2.is_correlated(),
      )
  
imports: import os
  import sys
  import unittest
  from luminol import exceptions
  from luminol import Luminol
  from luminol.correlator import Correlator
label_desc: Use image node_id 4 for calling the TestCorrelator obj's underlying member method code with example usage: obj.test_if_correlate() without return types