public function isConfigured()
{
if ($this->isConfigured !== null) {
return $this->isConfigured;
}
if (Session::has(self::SESSION_CONFIGURED)) {
$result = true;
} elseif (App::hasDatabase() && Schema::hasTable('rainlab_translate_locales')) {
Session::put(self::SESSION_CONFIGURED, true);
$result = true;
} else {
$result = false;
}
return $this->isConfigured = $result;
}