Does Java High Level REST Client have "check if exists" operation?

I'm using Get API for now but I think this is inefficient

Why do you think that?

Oh,sorry,I've made a typo. I'm using Search API for now. But if I will use Get API it will change a structure of my code because I have used HEAD requests to check if exists

Can you explain what exactly is the problem if you still have a problem?

The problem is that when I use the Low Level Rest Client I'm retrieving data I check if record exists then another layer of program actually gets the record and, when I was rewriting my program to High Level Client, I realize that I'm getting record(with Get API) two times and it might be inefficient usage of network

when I was rewriting my program to High Level Client, I realize that I'm getting record(with Get API) two times

Why this? Just call the GET API once.