code: def is_vert_aligned_right(c):
      
      return all(
          [
              _to_span(c[i]).sentence.is_visual()
              and bbox_vert_aligned_right(
                  bbox_from_span(_to_span(c[i])), bbox_from_span(_to_span(c[0]))
              )
              for i in range(len(c))
          ]
      )
docs: Return true if all components vertically aligned on their right border.
  
      Vertical alignment means that the bounding boxes of each Mention of c
      shares a similar x-axis value in the visual rendering of the document. In
      this function the similarity of the x-axis value is based on the right
      border of their bounding boxes.
  
      :param c: The candidate to evaluate
      :rtype: boolean