'Does the keyword expression self._kw match "x"? Returns True/False.
Always returns True if self._kw is "".'

def matches(self, x):

    if (not self._kw):
        return True
    for kw in self._kw:
        if (x.__name__.find(kw) != (-1)):
            return True
    return False
