@lru_cache(maxsize=<NUM_LIT>)<EOL>def is_horz_aligned(c):
return all(<EOL>[<EOL>_to_span(c[i]).sentence.is_visual()<EOL>and bbox_horz_aligned(<EOL>bbox_from_span(_to_span(c[i])), bbox_from_span(_to_span(c[<NUM_LIT:0>]))<EOL>)<EOL>for i in range(len(c))<EOL>]<EOL>)<EOL>
Return True if all the components of c are horizontally aligned.

    Horizontal alignment means that the bounding boxes of each Mention of c
    shares a similar y-axis value in the visual rendering of the document.

    :param c: The candidate to evaluate
    :rtype: boolean