code: def __eq__(self, other):
      return all(
          (
              self.resource_type == other.resource_type,
              self.resource_name == other.resource_name,
              self.pattern_type == other.pattern_type,
          )
      )
  
imports: from __future__ import absolute_import
  from kafka.errors import IllegalArgumentError
label_desc: Use image node_id 4 for calling the ResourcePatternFilter obj's underlying member method code with example usage: obj.__eq__(other) and returns: all