code: def is_dataclass(item):
      """
      Checks if the object is a data-class instance
  
      Parameters
      ----------
      item : object
  
      Returns
      --------
      is_dataclass : bool
          True if the item is an instance of a data-class,
          will return false if you pass the data class itself
  
      Examples
      --------
      >>> from dataclasses import dataclass
      >>> @dataclass
      ... class Point:
      ...     x: int
      ...     y: int
  
      >>> is_dataclass(Point)
      False
      >>> is_dataclass(Point(0,2))
      True
  
      """
      try:
          import dataclasses
  
          return dataclasses.is_dataclass(item) and not isinstance(
              item, type
          )
      except ImportError:
          return False
  
file_path: catboost/contrib/python/pandas/py3/pandas/core/dtypes/inference.py
imports: from __future__ import annotations
  from collections import abc
  from numbers import Number
  import re
  from typing import Pattern
  import numpy
  from pandas._libs import lib
label_desc: Use image node_id 12 for calling a global function with example usage: is_dataclass(item) and returns: unknown, False