original_string: public function used(array $condition, array $data)
      {
          if (!isset($data['rule']['used'])) {
              return false;
          }
  
          return $this->compare($data['rule']['used'], $condition['value'], $condition['operator']);
      }
code: public function used(array $condition, array $data)
      {
          if (!isset($data['rule']['used'])) {
              return false;
          }
  
          return $this->compare($data['rule']['used'], $condition['value'], $condition['operator']);
      }
code_tokens: public function used ( array $ condition , array $ data ) { if ( ! isset ( $ data [ 'rule' ] [ 'used' ] ) ) { return false ; } return $ this -> compare ( $ data [ 'rule' ] [ 'used' ] , $ condition [ 'value' ] , $ condition [ 'operator' ] ) ; }
docstring: Returns true if the "number of usage" condition is met
  @param array $condition
  @param array $data
  @return boolean
docstring_tokens: Returns true if the number of usage condition is met