Checks whether the specified symbol is part of the name for completion.

def _symbol_in(self, symbol, name):
        """Checks whether the specified symbol is part of the name for completion."""
        lsymbol = symbol.lower()
        lname = name.lower()
        return lsymbol == lname[:len(symbol)] or "_" + lsymbol in lname