Testing object validity before to do anything