public function doesAcceptLanguage($language = 'en')
	{
		return (in_array(strtolower($language), $this->getAcceptLanguages(), true)) ? true : false;
	}
public function doesAcceptLanguage($language = 'en')
	{
		return (in_array(strtolower($language), $this->getAcceptLanguages(), true)) ? true : false;
	}
public function doesAcceptLanguage ( $ language = 'en' ) { return ( in_array ( strtolower ( $ language ) , $ this -> getAcceptLanguages ( ) , true ) ) ? true : false ; }
Check if the current browser accepts a specific language

@param string $language optional ISO language code, defaults to 'en'

@return boolean
Check if the current browser accepts a specific language