<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_check_versioned_name(self, check_name):
 """ The compliance checker allows the user to specify a check without a version number but we want the report to specify the version number. Returns the check name with the version number it checked """

        if ':' not in check_name or ':latest' in check_name:
            check_name = ':'.join((check_name.split(':')[0],
                                   self.checkers[check_name]._cc_spec_version))
        return check_name