<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_vtep(self, name, vtep, vlan=None):
 """Adds a new VTEP endpoint to the global or local flood list EosVersion: 4.13.7M Args: name (str):
 The name of the interface to configure vtep (str):
 The IP address of the remote VTEP endpoint to add vlan (str):
 The VLAN ID associated with this VTEP. If the VLAN keyword is used, then the VTEP is configured as a local flood endpoing Returns: True if the command completes successfully """

        if not vlan:
            cmd = 'vxlan flood vtep add {}'.format(vtep)
        else:
            cmd = 'vxlan vlan {} flood vtep add {}'.format(vlan, vtep)
        return self.configure_interface(name, cmd)