original_string: private function isActiveRecordUnique($attributes) {
          /* @var $class \yii\db\ActiveRecord */
          $class = $this->className;
          return empty($attributes) ? true :
                  !$class::find()->where($attributes)->exists();
      }
code: private function isActiveRecordUnique($attributes) {
          /* @var $class \yii\db\ActiveRecord */
          $class = $this->className;
          return empty($attributes) ? true :
                  !$class::find()->where($attributes)->exists();
      }
code_tokens: private function isActiveRecordUnique ( $ attributes ) { /* @var $class \yii\db\ActiveRecord */ $ class = $ this -> className ; return empty ( $ attributes ) ? true : ! $ class :: find ( ) -> where ( $ attributes ) -> exists ( ) ; }
docstring: Will check if Active Record is unique by exists query.
  @param array $attributes
  @return boolean
docstring_tokens: Will check if Active Record is unique by exists query .