<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create(cls, name, address=None, ipv6_address=None, secondary=None, comment=None):
 """ Create the host element :param str name: Name of element :param str address: ipv4 address of host object (optional if ipv6) :param str ipv6_address: ipv6 address (optional if ipv4) :param list secondary: secondary ip addresses (optional) :param str comment: comment (optional) :raises CreateElementFailed: element creation failed with reason :return: instance with meta :rtype: Host .. note:: Either ipv4 or ipv6 address is required """

        address = address if address else None
        ipv6_address = ipv6_address if ipv6_address else None
        secondaries = [] if secondary is None else secondary
        json = {'name': name,
                'address': address,
                'ipv6_address': ipv6_address,
                'secondary': secondaries,
                'comment': comment}

        return ElementCreator(cls, json)