def METHOD_NAME(self, node):
    # Workaround for old Cyan scripts: replace variables named "true" or "false"
    # with the respective constant values True or False.
    if node.id.lower() in  {"true", "false"}:
        return ast.literal_eval(node.id.capitalize())
    return node.id