src/CoreBundle/DcGeneral/PropertyConditionFactory.php
public function supportsAttribute($conditionType, $attribute)
    {
        $factory = $this->factories->has($conditionType) ? $this->getFactory($conditionType) : null;

        return (($factory instanceof AttributeAwarePropertyConditionFactoryInterface)
            && $factory->supportsAttribute($attribute))
            || (bool) $this->fallbackFactory->supportsAttribute($conditionType, $attribute);
    }
public function supportsAttribute($conditionType, $attribute)
    {
        $factory = $this->factories->has($conditionType) ? $this->getFactory($conditionType) : null;

        return (($factory instanceof AttributeAwarePropertyConditionFactoryInterface)
            && $factory->supportsAttribute($attribute))
            || (bool) $this->fallbackFactory->supportsAttribute($conditionType, $attribute);
    }
Test if an attribute type is supported for the passed condition type.

@param string $conditionType The condition type.
@param string $attribute     The attribute type.

@return bool