if (!time->is_correct ())                        if (!time->is_empty ())
{                                                {
  ...                                              ...
}                                                }