code: def dimensions(self, copy=True):
          
  
          return self._dims.copy() if copy else self._dims
docs: Return a dictionary of :class:`~hypercube.dims.Dimension` objects.
  
          Parameters
          ----------
          copy : boolean:
              Returns a copy of the dimension dictionary if True (Default value = True)
  
          Returns
          -------
          dict
              Dictionary of :class:`~hypercube.dims.Dimension` objects.