public function isRtl( $lang = null ) {
		static $rtlLanguages = null;

		$lang = $lang ? $this->normalizeLang( $lang ) : $this->getLang();

		if ( $rtlLanguages === null ) {
			$file = $this->localBaseDir . '/language/rtl.json';
			$rtlLanguages = json_decode( file_get_contents( $file ), true );
		}

		return in_array( $lang, $rtlLanguages );
	}
public function isRtl( $lang = null ) {
		static $rtlLanguages = null;

		$lang = $lang ? $this->normalizeLang( $lang ) : $this->getLang();

		if ( $rtlLanguages === null ) {
			$file = $this->localBaseDir . '/language/rtl.json';
			$rtlLanguages = json_decode( file_get_contents( $file ), true );
		}

		return in_array( $lang, $rtlLanguages );
	}
public function isRtl ( $ lang = null ) { static $ rtlLanguages = null ; $ lang = $ lang ? $ this -> normalizeLang ( $ lang ) : $ this -> getLang ( ) ; if ( $ rtlLanguages === null ) { $ file = $ this -> localBaseDir . '/language/rtl.json' ; $ rtlLanguages = json_decode ( file_get_contents ( $ file ) , true ) ; } return in_array ( $ lang , $ rtlLanguages ) ; }
Whether the language is right-to-left

@param string|null $lang Language code to get the property from,
current language if missing
@return bool
Whether the language is right - to - left