(obj)
return hasattr(type(obj), _FIELDS)
Returns True if obj is an instance of a dataclass.
Returns True if obj is an instance of a dataclass.
Returns True if obj is an instance of a dataclass .
def _is_dataclass_instance(obj):
    """Returns True if obj is an instance of a dataclass."""
    return hasattr(type(obj), _FIELDS)
def _is_dataclass_instance ( obj ) : return hasattr ( type ( obj ) , _FIELDS )