'remove an external IP from a service'

def delete_external_ips(self, inc_external_ips):

    if (not isinstance(inc_external_ips, list)):
        inc_external_ips = [inc_external_ips]
    external_ips = (self.get(Service.external_ips) or [])
    if (not external_ips):
        return True
    removed = False
    for inc_external_ip in inc_external_ips:
        external_ip = self.find_external_ips(inc_external_ip)
        if external_ip:
            external_ips.remove(external_ip)
            removed = True
    return removed
