Return false vs raise exception