protected function needsFiltering(array $inputs = null)
    {
        $inputsToFilter = $inputs ?: $this->getInputsToFilter();

        return !(is_array($inputsToFilter) && count($inputsToFilter) === 0);
    }