def IsAttributeSet(self, attribute):
    return (attribute in self.synced_attributes or
            attribute in self.new_attributes)
Determine if the attribute is set.
dataset/ETHPy150Open google/grr/grr/lib/aff4.py/AFF4Object.IsAttributeSet