'Return `True` if the input keyword contains a wildcard pattern.'

def _haswildcard(self, keyword):

    return (isinstance(keyword, string_types) and (keyword.endswith('...') or ('*' in keyword) or ('?' in keyword)))
