code: def is_id_only(self):
          
          for key, value in self.items():
              if key not in {'names', 'labels', 'roles'} and value:
                  return False
          if self.names or self.labels:
              return True
          return False
docs: Return True if identifier information only.