@staticmethod
def extend(*args):
    if (args is not None):
        result = None
        if (type(args[0]) is collections.OrderedDict):
            result = collections.OrderedDict()
        else:
            result = {}
        for arg in args:
            result.update(arg)
        return result
    return {}
@staticmethod
def extend(*args):
    if (args is not None):
        result = None
        if (type(args[0]) is collections.OrderedDict):
            result = collections.OrderedDict()
        else:
            result = {}
        for arg in args:
            result.update(arg)
        return result
    return {}