parameters: (exp_dst_url, have_existing_dst_container,
                                 command_name)
docstring: Ensures the destination URL names a container.
  
    Acceptable containers include directory, bucket, bucket
    subdir, and non-existent bucket subdir.
  
    Args:
      exp_dst_url: Wildcard-expanded destination StorageUrl.
      have_existing_dst_container: bool indicator of whether exp_dst_url
        names a container (directory, bucket, or existing bucket subdir).
      command_name: Name of command making call. May not be the same as the
          calling class's self.command_name in the case of commands implemented
          atop other commands (like mv command).
  
    Raises:
      CommandException: if the URL being checked does not name a container.
docstring_summary: Ensures the destination URL names a container.
docstring_tokens: Ensures the destination URL names a container .
function: def InsistDstUrlNamesContainer(exp_dst_url, have_existing_dst_container,
                                 command_name):
    """Ensures the destination URL names a container.
  
    Acceptable containers include directory, bucket, bucket
    subdir, and non-existent bucket subdir.
  
    Args:
      exp_dst_url: Wildcard-expanded destination StorageUrl.
      have_existing_dst_container: bool indicator of whether exp_dst_url
        names a container (directory, bucket, or existing bucket subdir).
      command_name: Name of command making call. May not be the same as the
          calling class's self.command_name in the case of commands implemented
          atop other commands (like mv command).
  
    Raises:
      CommandException: if the URL being checked does not name a container.
    """
    if ((exp_dst_url.IsFileUrl() and not exp_dst_url.IsDirectory()) or
        (exp_dst_url.IsCloudUrl() and exp_dst_url.IsBucket()
         and not have_existing_dst_container)):
      raise CommandException('Destination URL must name a directory, bucket, '
                             'or bucket\nsubdirectory for the multiple '
                             'source form of the %s command.' % command_name)
function_tokens: def InsistDstUrlNamesContainer ( exp_dst_url , have_existing_dst_container , command_name ) : if ( ( exp_dst_url . IsFileUrl ( ) and not exp_dst_url . IsDirectory ( ) ) or ( exp_dst_url . IsCloudUrl ( ) and exp_dst_url . IsBucket ( ) and not have_existing_dst_container ) ) : raise CommandException ( 'Destination URL must name a directory, bucket, ' 'or bucket\nsubdirectory for the multiple ' 'source form of the %s command.' % command_name )