public function doing_filter($filter = null)
    {

        if (null === $filter) {
            return ! empty($this->current_filter);
        }

        return in_array($filter, $this->current_filter);
    }