<?php

namespace GriffinForms\Includes\Integrations\Mailgun;

use GriffinForms\Settings;

class Helpers
{
    public static function isConfigured(): bool
    {
        $settings = Settings::getInstance();
        $domain = $settings->getOption('mailgun_domain');
        $api_key = $settings->getOption('mailgun_api_key');
        return !empty($domain) && !empty($api_key);
    }
}
