original_string: public function userHasMode(ConnectionInterface $connection, $channel, $nick, $mode)
      {
          $connectionMask = $this->getConnectionMask($connection);
          return isset($this->modes[$connectionMask][$channel][$nick][$mode]);
      }
code: public function userHasMode(ConnectionInterface $connection, $channel, $nick, $mode)
      {
          $connectionMask = $this->getConnectionMask($connection);
          return isset($this->modes[$connectionMask][$channel][$nick][$mode]);
      }
code_tokens: public function userHasMode ( ConnectionInterface $ connection , $ channel , $ nick , $ mode ) { $ connectionMask = $ this -> getConnectionMask ( $ connection ) ; return isset ( $ this -> modes [ $ connectionMask ] [ $ channel ] [ $ nick ] [ $ mode ] ) ; }
docstring: Returns whether a user has a particular mode in a particular channel.
  
  @param \Phergie\Irc\ConnectionInterface $connection
  @param string $channel
  @param string $nick
  @param string $mode
  @return boolean
docstring_tokens: Returns whether a user has a particular mode in a particular channel .