public function isLocalizedRecord($tableName, array $record)
    {
        $translationUid = $this->getTranslationOriginalUid($tableName, $record);
        if (is_null($translationUid)) {
            return false;
        }

        $hasTranslationReference = $translationUid > 0;
        if (!$hasTranslationReference) {
            return false;
        }

        return true;
    }
public function isLocalizedRecord($tableName, array $record)
    {
        $translationUid = $this->getTranslationOriginalUid($tableName, $record);
        if (is_null($translationUid)) {
            return false;
        }

        $hasTranslationReference = $translationUid > 0;
        if (!$hasTranslationReference) {
            return false;
        }

        return true;
    }
public function isLocalizedRecord ( $ tableName , array $ record ) { $ translationUid = $ this -> getTranslationOriginalUid ( $ tableName , $ record ) ; if ( is_null ( $ translationUid ) ) { return false ; } $ hasTranslationReference = $ translationUid > 0 ; if ( ! $ hasTranslationReference ) { return false ; } return true ; }
Checks whether a record is a localization overlay.

@param string $tableName The record's table name
@param array $record The record to check
@return bool TRUE if the record is a language overlay, FALSE otherwise
Checks whether a record is a localization overlay .