public boolean match(int left, long[] rights) {
        for (long right : rights) {
            if (left == right) {
                return true;
            }
        }
        return false;
    }
@Test
    public void testIn() {
        Assertions.assertTrue(new InMatch().match("a", new Object[] {
            "\"a\"",
            "\"b\""
        }));
        Assertions.assertFalse(new InMatch().match("c", new Object[] {
            "\"a\"",
            "\"b\""
        }));

        Assertions.assertTrue(
            new InMatch().match(RequestType.RPC, new Object[] {
                RequestType.HTTP,
                RequestType.DATABASE,
                RequestType.RPC
            }));
        Assertions.assertFalse(
            new InMatch().match(RequestType.gRPC, new Object[] {
                                    RequestType.HTTP,
                                    RequestType.DATABASE,
                                    RequestType.RPC
                                }
            ));

        Assertions.assertTrue(new InMatch().match(1, new long[] {
            1,
            2,
            3
        }));
        Assertions.assertFalse(new InMatch().match(4, new long[] {
            1,
            2,
            3
        }));

        Assertions.assertTrue(new InMatch().match(1L, new long[] {
            1,
            2,
            3
        }));
        Assertions.assertFalse(new InMatch().match(4L, new long[] {
            1,
            2,
            3
        }));
    }