def __contains__(self, key, path="%"):
        q = "select * from `rate` where key=? and path like ?;"
        return self.execute(q, (key, path), first=True, commit=False) is not None
Read a PNM header, return width and height of the image in pixels.
dataset/ETHPy150Open clips/pattern/pattern/server/__init__.py/RateLimit.__contains__--crossover with--dataset/ETHPy150Open ardekantur/pyglet/pyglet/image/codecs/pypng.py/read_pnm_header