public function backupSuccessIndicator($label)
    {
        $backups = $this->listBackups();
        if (is_array($backups)) {
            if (!empty($backups)) {
                if ($backups[0]->label === $label) {
                    return true;
                }

                return false;
            }

            return false;
        }
    }
public function backupSuccessIndicator($label)
    {
        $backups = $this->listBackups();
        if (is_array($backups)) {
            if (!empty($backups)) {
                if ($backups[0]->label === $label) {
                    return true;
                }

                return false;
            }

            return false;
        }
    }
public function backupSuccessIndicator ( $ label ) { $ backups = $ this -> listBackups ( ) ; if ( is_array ( $ backups ) ) { if ( ! empty ( $ backups ) ) { if ( $ backups [ 0 ] -> label === $ label ) { return true ; } return false ; } return false ; } }
Indicate when required backup is generated.

@param string $label Backup label.

@return bool
Indicate when required backup is generated .