original_string: public function is($name, $value, $options = [], &$params = [])
      {
          $not = false;
          if (strncmp($name, 'not:', 4) === 0) {
              $name = substr($name, 4);
              $not = true;
          }
          $handlers = $this->get($name);
          $handlers = is_array($handlers) ? $handlers : [$handlers];
          $checker = $this->_classes['checker'];
  
          return $checker::check($value, $handlers, $options, $params) !== $not;
      }
code: public function is($name, $value, $options = [], &$params = [])
      {
          $not = false;
          if (strncmp($name, 'not:', 4) === 0) {
              $name = substr($name, 4);
              $not = true;
          }
          $handlers = $this->get($name);
          $handlers = is_array($handlers) ? $handlers : [$handlers];
          $checker = $this->_classes['checker'];
  
          return $checker::check($value, $handlers, $options, $params) !== $not;
      }
code_tokens: public function is ( $ name , $ value , $ options = [ ] , & $ params = [ ] ) { $ not = false ; if ( strncmp ( $ name , 'not:' , 4 ) === 0 ) { $ name = substr ( $ name , 4 ) ; $ not = true ; } $ handlers = $ this -> get ( $ name ) ; $ handlers = is_array ( $ handlers ) ? $ handlers : [ $ handlers ] ; $ checker = $ this -> _classes [ 'checker' ] ; return $ checker :: check ( $ value , $ handlers , $ options , $ params ) !== $ not ; }
docstring: Checks a single value against a validation handler.
  
  @param  string  $rule    The validation handler name.
  @param  mixed   $value   The value to check.
  @param  array   $options The options array.
  @return boolean          Returns `true` or `false` indicating whether the validation rule check
  succeeded or failed.
docstring_tokens: Checks a single value against a validation handler .