original_string: protected function hasAllRequiredData(array $modifier)
      {
          if (array_key_exists('operator', $modifier)
              && !in_array($modifier['operator'],
                  self::$allowedFilterOperators)
          ) {
              throw new ModifierException('The filter operator "' . $modifier['operator'] . '" is not allowed. You can only use one of the following:
                          ' . implode(', ', self::$allowedFilterOperators));
          }
  
          return array_key_exists('property', $modifier) && array_key_exists('value', $modifier);
      }
code: protected function hasAllRequiredData(array $modifier)
      {
          if (array_key_exists('operator', $modifier)
              && !in_array($modifier['operator'],
                  self::$allowedFilterOperators)
          ) {
              throw new ModifierException('The filter operator "' . $modifier['operator'] . '" is not allowed. You can only use one of the following:
                          ' . implode(', ', self::$allowedFilterOperators));
          }
  
          return array_key_exists('property', $modifier) && array_key_exists('value', $modifier);
      }
code_tokens: protected function hasAllRequiredData ( array $ modifier ) { if ( array_key_exists ( 'operator' , $ modifier ) && ! in_array ( $ modifier [ 'operator' ] , self :: $ allowedFilterOperators ) ) { throw new ModifierException ( 'The filter operator "' . $ modifier [ 'operator' ] . '" is not allowed. You can only use one of the following:
                          ' . implode ( ', ' , self :: $ allowedFilterOperators ) ) ; } return array_key_exists ( 'property' , $ modifier ) && array_key_exists ( 'value' , $ modifier ) ; }
docstring: Has the modifier all required data to be applied?
  
  @param array $modifier
  
  @return bool
  @throws ModifierException
docstring_tokens: Has the modifier all required data to be applied?