in cfn_policy_validator/parsers/output.py [0:0]
def __eq__(self, other):
if not isinstance(other, Resource):
return False
names_are_equal = self.ResourceName == other.ResourceName
types_are_equal = self.ResourceType == other.ResourceType
policies_are_equal = self.Policy == other.Policy
configuration_is_equal = self.Configuration == other.Configuration
return names_are_equal and types_are_equal and policies_are_equal and configuration_is_equal