def METHOD_NAME(self, version, node):
    """ Coloring a node by correct color by actual version"""
    project_name = get_current_project_name()
    last_version_doc = get_last_version_by_subset_id(
        project_name, version["parent"], fields=["_id"]
    )
    # change color of node
    if version["_id"] == last_version_doc["_id"]:
        color_value = self.node_color
    else:
        color_value = "0xd88467ff"
    node["tile_color"].setValue(int(color_value, 16))