code: def applies(cls, obj):
      if not cls.loaded():
          return False
      is_sdf = isinstance(obj, cls.data_types())
      if "geopandas" in sys.modules and "geoviews" not in sys.modules:
          import geopandas as gpd
  
          is_sdf |= isinstance(obj, (gpd.GeoDataFrame, gpd.GeoSeries))
      return is_sdf
  
imports: import sys
  from collections import defaultdict
  import numpy
  import pandas
  from ..dimension import dimension_name
  from ..util import isscalar, unique_array, unique_iterator
  from .interface import DataError, Interface
  from .multipath import MultiInterface, ensure_ring
  from .pandas import PandasInterface
label_desc: Use image node_id 2 for calling the SpatialPandasInterface obj's underlying member method code with example usage: obj.applies(cls, obj) and returns: is_sdf, False