code: def is_v2_dash(positions):
      return (
          isinstance(positions, dict)
          and positions.get("DASHBOARD_VERSION_KEY") == "v2"
      )
  
imports: import collections
  import json
  import sys
  import uuid
  from functools import reduce
  from alembic import op
  from sqlalchemy import Column, ForeignKey, Integer, String, Table, Text
  from sqlalchemy.ext.declarative import declarative_base
  from sqlalchemy.orm import relationship
  from superset import db
label_desc: Use image node_id 1 for calling a global function with example usage: is_v2_dash(positions) and returns: unknown