def METHOD_NAME(client, args):
    req = IMSIDetachIndication(
        imsi=args.imsi,
        mme_name=args.mme_name,
        imsi_detach_from_non_eps_service_type=b'\x11',
    )
    print("Sending IMSI Detach Indication with following fields:\n %s" % req)
    try:
        client.IMSIDetachInd(req)
    except grpc.RpcError as e:
        print("gRPC failed with %s: %s" % (e.code(), e.details()))