<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def check_compatibility(name):
 """Verify if we can release this component on the running interpreter. All components are released from python 2.7 by default unless they specify that they are python 3 only, in which case they are released from python 3.6 """


    comp = comp_names[name]

    if sys.version_info.major < 3 and comp.compat == "python3":
        return False

    if sys.version_info.major >= 3 and comp.compat != "python3":
        return False

    return True