code: protected function getAttributeFromFilterOperation($operation)
      {
          $attribute = null;
          if (!empty($operation['property'])) {
              $attribute = $this->getMetaModel()->getAttribute($operation['property']);
          }
  
          if ($attribute === null) {
              throw new \InvalidArgumentException('Attribute ' . $operation['property'] . ' not found.');
          }
  
          return $attribute;
      }
docs: Retrieve the attribute for a filter operation.
  
  @param array $operation The operation to retrieve the attribute for.
  
  @return IAttribute
  
  @throws \InvalidArgumentException When the attribute can not be retrieved.