def conformer_eligible_for_topology_detection(conformer):
  """Returns whether this conformer is worthy of topology detection.

  Simple duplicate marking or conformers with unreliable geometries are not
  generally useful to do topology detection.

  Args:
    conformer: dataset_pb2.Conformer

  Returns:
    bool
  """
  return (conformer.duplicated_by == 0 and
          conformer.properties.errors.status >= 0 and
          conformer.properties.errors.status < 512)