Check is Map Empty or Null, Will default returns an empty Map.
Map<D, S> isMapEmpty() => this ?? <D, S>{};