def has_findings(resource, resource_attributes_with_findings):
    """
    Return True if this resource has findings.
    """
    attribs = (getattr(resource, key, None) for key in resource_attributes_with_findings)
    return bool(any(attribs))