protected function existsInCondition($name) {
        foreach ($this->conditionColumns as $column) {
            if (0 === strpos($column, $name . '.')) {
                return true;
            }
        }
        return false;
    }