def _check_history_version(history, version_string):
    """Check if version_string is present in history string."""
    if (version_string.replace(' ', '') in history.replace('\n', '').replace(' ', '')):
        return True
    else:
        return False