Makes health return True or False

API returns a 204 for the health check with no body content.
The function should have returned  True if http result was a 204,
or else a False.

I solved the problem by making the function return false in case of an
error.

Change-Id: I02771f5aa61db4ed83da952245744cb3a6163a26
Closes-bug: #1288986
Merge "Makes health return True or False"