code: def _can_skip_migration(head):
      # Version is not compatible, we can't skip
      if not _is_compatible_version(head):
          return False
  
      # A non-admin is accessing data with a compatible version; we don't need to
      # run a migration
      if not fo.config.database_admin:
          return True
  
      # An admin is accessing data from a *future* version, so we cannot migrate.
      # However, the future version is compatible, so we'll skip the migration
      # attempt, which would raise an error
      if Version(head) > Version(foc.VERSION):
          return True
  
      return False
  
imports: import bisect
  import logging
  import os
  from packaging.requirements import Requirement
  from packaging.version import Version
  import eta.core.utils
  import fiftyone
  import fiftyone.constants
  import fiftyone.core.odm
  import fiftyone.core.utils
label_desc: Use image node_id 12 for calling a global function with example usage: _can_skip_migration(head) and returns: False, False, True, True