original_string: public function check($token)
      {
          $blacklistedToken = $this->model
              ->where('user_id', $this->Token->getSubject($token))
              ->where('expiry', '>', Carbon::now())
              ->whereToken($token)
              ->first();
  
          if ($blacklistedToken === null) {
              return true;
          }
  
          throw new BlacklistedTokenException();
      }
code: public function check($token)
      {
          $blacklistedToken = $this->model
              ->where('user_id', $this->Token->getSubject($token))
              ->where('expiry', '>', Carbon::now())
              ->whereToken($token)
              ->first();
  
          if ($blacklistedToken === null) {
              return true;
          }
  
          throw new BlacklistedTokenException();
      }
code_tokens: public function check ( $ token ) { $ blacklistedToken = $ this -> model -> where ( 'user_id' , $ this -> Token -> getSubject ( $ token ) ) -> where ( 'expiry' , '>' , Carbon :: now ( ) ) -> whereToken ( $ token ) -> first ( ) ; if ( $ blacklistedToken === null ) { return true ; } throw new BlacklistedTokenException ( ) ; }
docstring: Check if a given token is considered blacklisted
  
  TODO: Use export() method
  
  @param $token
  @return bool
  @throws BlacklistedTokenException
docstring_tokens: Check if a given token is considered blacklisted