public static function isExampleDomain(string $domain): bool
    {
        if (self::$domainsExample === null) {
            self::$domainsExample = self::getData('domainsExample');
        }

        if (\in_array($domain, self::$domainsExample, true)) {
            return true;
        }

        return false;
    }
public static function isExampleDomain(string $domain): bool
    {
        if (self::$domainsExample === null) {
            self::$domainsExample = self::getData('domainsExample');
        }

        if (\in_array($domain, self::$domainsExample, true)) {
            return true;
        }

        return false;
    }
public static function isExampleDomain ( string $ domain ) : bool { if ( self :: $ domainsExample === null ) { self :: $ domainsExample = self :: getData ( 'domainsExample' ) ; } if ( \ in_array ( $ domain , self :: $ domainsExample , true ) ) { return true ; } return false ; }
Check if the domain is a example domain.

@param string $domain

@return bool
Check if the domain is a example domain .