@property
  def has_roles(self):
    # TODO(John Sirois): This is a layer leak - it only supports mustache rendering.
    # Consider converting the OSSRHPublicationMetadata tree to a suitable form for mustache
    # rendering where the rendering occurs (currently just in the JarPublish task).
    return bool(self.roles)
Returns `True` if this developer has one or more roles.
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/backend/jvm/ossrh_publication_metadata.py/Developer.has_roles