class_docstr: Overlayable provides a mix-in class to support the
  mul operation for overlaying multiple elements.
docstr: Overlay object with other object.
docstr_tok: ["Overlay","object","with","other","object","."]
code: def __mul__(self, other):
      "Overlay object with other object."
      # Local import to break the import cyclic dependency
      from .spaces import DynamicMap
  
      if isinstance(other, DynamicMap):
          from .spaces import Callable
  
          def dynamic_mul(*args, **kwargs):
              element = other[args]
              return self * element
  
          callback = Callable(dynamic_mul, inputs=[self, other])
          callback._is_overlay = True
          return other.clone(
              shared_data=False,
              callback=callback,
              streams=dimensioned_streams(other),
          )
      else:
          if isinstance(self, Overlay):
              if not isinstance(other, ViewableElement):
                  return NotImplemented
          elif isinstance(other, UniformNdMapping) and not isinstance(
              other, CompositeOverlay
          ):
              items = [(k, self * v) for (k, v) in other.items()]
              return other.clone(items)
          elif isinstance(
              other, (AdjointLayout, ViewableTree)
          ) and not isinstance(other, Overlay):
              return NotImplemented
  
          try:
              return Overlay([self, other])
          except NotImplementedError:
              return NotImplemented
  
imports: from functools import reduce
  import numpy
  import param
  from .dimension import Dimension, Dimensioned, ViewableElement, ViewableTree
  from .layout import AdjointLayout, Composable, Layout, Layoutable
  from .ndmapping import UniformNdMapping
  from .util import dimensioned_streams, sanitize_identifier, unique_array
label_desc: Use image node_id 1 for calling the Overlayable obj's underlying member method code with example usage: obj.__mul__(other) and returns: other, unknown, Overlay, NotImplemented, other, NotImplemented, NotImplemented