original_string: public function isIgnoredBy($userId)
      {
          if ((new Query)->select('id')->from('{{%podium_user_ignore}}')->where([
                  'user_id' => $userId,
                  'ignored_id' => $this->id
              ])->exists()) {
              return true;
          }
          return false;
      }
code: public function isIgnoredBy($userId)
      {
          if ((new Query)->select('id')->from('{{%podium_user_ignore}}')->where([
                  'user_id' => $userId,
                  'ignored_id' => $this->id
              ])->exists()) {
              return true;
          }
          return false;
      }
code_tokens: public function isIgnoredBy ( $ userId ) { if ( ( new Query ) -> select ( 'id' ) -> from ( '{{%podium_user_ignore}}' ) -> where ( [ 'user_id' => $ userId , 'ignored_id' => $ this -> id ] ) -> exists ( ) ) { return true ; } return false ; }
docstring: Finds out if user is ignored by another.
  @param int $userId user ID
  @return bool
docstring_tokens: Finds out if user is ignored by another .