• Модуль: location
  • Путь к файлу: ~/bitrix/modules/location/lib/source/osm/osmsource.php
  • Класс: BitrixLocationSourceOsmOsmSource
  • Вызов: OsmSource::isAvailable
public function isAvailable(): bool
{
	$token = $this->tokenRequester->getToken();
	if ($token)
	{
		return true;
	}

	return !$this->tokenRequester->hasLicenseIssues();
}