Check properties function returns now boolean

Signed-off-by: pgnunes <pgh.nunes@gmail.com>