def METHOD_NAME(mapname, key, info, rename):
    _args = {}
    if mapname:
        _args["automountmapautomountmapname"] = mapname
    if key:
        _args["automountkey"] = key
    if info:
        _args["automountinformation"] = info
    if rename:
        _args["rename"] = rename
    return _args