<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_status(task, prefix, expnum, version, ccd, return_message=False):
 """ Report back status of the given program by looking up the associated VOSpace annotation. @param task: name of the process or task that will be checked. @param prefix: prefix of the file that was processed (often fk or None) @param expnum: which exposure number (or base filename) @param version: which version of that exposure (p, s, o) @param ccd: which CCD within the exposure. @param return_message: Return what did the TAG said or just /True/False/ for Success/Failure? @return: the status of the processing based on the annotation value. """

    key = get_process_tag(prefix+task, ccd, version)
    status = get_tag(expnum, key)
    logger.debug('%s: %s' % (key, status))
    if return_message:
        return status
    else:
        return status == SUCCESS