<?php

namespace App\Checklist;

use App\Contracts\GoLiveChecklist;
use App\Facades\Settings;
use Illuminate\Support\Str;
use Mtc\MercuryDataModels\Tenant;
use Stancl\Tenancy\Contracts\Domain;

class CrmLiveMode extends GoLiveChecklist
{
    public function category(): string
    {
        return GoLiveChecklist::DEVELOPER;
    }

    public function key(): string
    {
        return 'crm_live_mode';
    }

    public function handle(): bool
    {
        // TODO: check if site domains are in theme file on server
        return !empty(Settings::get('app-name'));
    }
}
