class_docstr: This class manages the coordination process with the consumer coordinator.
docstr: Check whether the group should be rejoined
  
  Returns:
      bool: True if consumer should rejoin group, False otherwise
docstr_tok: ["Check","whether","the","group","should","be","rejoined","Returns",":","bool",":","True","if","consumer","should","rejoin","group",",","False","otherwise"]
code: def need_rejoin(self):
      """Check whether the group should be rejoined
  
      Returns:
          bool: True if consumer should rejoin group, False otherwise
      """
      if not self._subscription.partitions_auto_assigned():
          return False
  
      if self._auto_assign_all_partitions():
          return False
  
      # we need to rejoin if we performed the assignment and metadata has changed
      if (
          self._assignment_snapshot is not None
          and self._assignment_snapshot != self._metadata_snapshot
      ):
          return True
  
      # we need to join if our subscription has changed since the last join
      if (
          self._joined_subscription is not None
          and self._joined_subscription
          != self._subscription.subscription
      ):
          return True
  
      return super(ConsumerCoordinator, self).need_rejoin()
  
imports: from __future__ import absolute_import, division
  import collections
  import copy
  import functools
  import logging
  import time
  from kafka.vendor import six
  from kafka.coordinator.base import BaseCoordinator, Generation
  from kafka.coordinator.assignors.range import RangePartitionAssignor
  from kafka.coordinator.assignors.roundrobin import RoundRobinPartitionAssignor
  from kafka.coordinator.assignors.sticky.sticky_assignor import StickyPartitionAssignor
  from kafka.coordinator.protocol import ConsumerProtocol
  import kafka.errors
  from kafka.future import Future
  from kafka.metrics import AnonMeasurable
  from kafka.metrics.stats import Avg, Count, Max, Rate
  from kafka.protocol.commit import OffsetCommitRequest, OffsetFetchRequest
  from kafka.structs import OffsetAndMetadata, TopicPartition
  from kafka.util import WeakMethod
label_desc: Use image node_id 14 for calling the ConsumerCoordinator obj's underlying member method code with example usage: obj.need_rejoin() and returns: super, False, False, True, True