def _haswildcard(self, keyword):
        """Return `True` if the input keyword contains a wildcard pattern."""

        return (isinstance(keyword, string_types) and
                (keyword.endswith('...') or '*' in keyword or '?' in keyword))
dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/header.py/Header._haswildcard/original