code: def create_snapshot(self, name=None, description=None, force=False):
          
          name = name or ""
          description = description or ""
          # Note that passing in non-None values is required for the _create_body
          # method to distinguish between this and the request to create and
          # instance.
          return self.manager.create_snapshot(volume=self, name=name,
                      description=description, force=force)
docs: Creates a snapshot of this volume, with an optional name and
          description.
  
          Normally snapshots will not happen if the volume is attached. To
          override this default behavior, pass force=True.