'Return True if the process item match the current filter
The proces item is a dict.'

def is_filtered(self, process):

    if (self.filter is None):
        return False
    if (self.filter_key is None):
        return (self._is_process_filtered(process, key='cmdline') and self._is_process_filtered(process, key='name'))
    else:
        return self._is_process_filtered(process)
