Tools::getIsset() is more appropriate