<?php

namespace App\Checklist;

use App\Contracts\GoLiveChecklist;
use App\Facades\Settings;

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'));
    }
}
