def get_answers(enquiry, sort=False):
    """
    Returns the answers of a given enquiry.

    :param enquiry: The given Enquiry instance.
    :param sort: If true, the answers will be sorted by vote count descending.

    """
    answers = enquiry.get_answers()
    if sort:
        answers.sort(key=lambda a: a.answer.get_vote_count(), reverse=True)
    return answers