code: def _check_is_aligned(df, id_col, dt_col):
      res = (
          len(
              set(
                  df.groupby(id_col).apply(
                      lambda df: hash(str(df[dt_col].values))
                  )
              )
          )
          == 1
      )
      return res
  
label_desc: Use image node_id 6 for calling a global function with example usage: _check_is_aligned(df, id_col, dt_col) and returns: res