def CompatibleWithYcmCore(): try: current_core_version = ycm_client_support.YcmCoreVersion() except AttributeError: return False return current_core_version == COMPATIBLE_WITH_CORE_VERSION
def CompatibleWithCurrentCoreVersion(): try: current_core_version = ycm_client_support.YcmCoreVersion() except AttributeError: return False return ExpectedCoreVersion() == current_core_version