client: fix the method that checks if a leaf is empty

Signed-off-by: Sébastien Boisvert <sebastien.boisvert.3@ulaval.ca>
edited the code to produce shorter lines

Signed-off-by: Sébastien Boisvert <sebastien.boisvert.3@ulaval.ca>