@property
    def is_datetime(self):
        try:
            t = self.type.type
        except __HOLE__:
            t = self.type

        return issubclass(t, (datetime, np.datetime64))
dataset/ETHPy150Open pydata/pandas/pandas/computation/ops.py/Term.is_datetime