public function exists($language, $basePath = ANPATH_BASE)
	{
        $directory = $this->getLanguagePath($basePath, $language);
        return is_dir($directory);
	}
public function exists($language, $basePath = ANPATH_BASE)
	{
        $directory = $this->getLanguagePath($basePath, $language);
        return is_dir($directory);
	}
public function exists ( $ language , $ basePath = ANPATH_BASE ) { $ directory = $ this -> getLanguagePath ( $ basePath , $ language ) ; return is_dir ( $ directory ) ; }
Check if a language exists

@param	string $lang Language to check
@param	string $basePath Optional path to check
@return	boolean True if the language exists
Check if a language exists