src/Common/Service/Locale.php
public function isSupportedLocale(\Nails\Common\Factory\Locale $oLocale): bool
    {
        return in_array($oLocale, $this->getSupportedLocales());
    }
public function isSupportedLocale(\Nails\Common\Factory\Locale $oLocale): bool
    {
        return in_array($oLocale, $this->getSupportedLocales());
    }
public function isSupportedLocale ( \ Nails \ Common \ Factory \ Locale $ oLocale ) : bool { return in_array ( $ oLocale , $ this -> getSupportedLocales ( ) ) ; }
Returns whetehr the supplied locale is supported or not

@param \Nails\Common\Factory\Locale $oLocale The locale to test

@return bool
Returns whetehr the supplied locale is supported or not