'Download handout with mime type specified by `mime_type`
Arguments:
mime_type (str): mime type of handout file
Returns:
tuple: Handout download result.'

def download_handout(self, mime_type, is_editor=False):

    selector = (BUTTON_SELECTORS['handout_download_editor'] if is_editor else BUTTON_SELECTORS['handout_download'])
    handout_url = self.q(css=selector).attrs('href')[0]
    (result, headers) = self._get_handout(handout_url)
    return (result, (headers['content-type'] == mime_type))
