'Given a dt, returns whether it\'s a valid session label.
Parameters
dt: pd.Timestamp
The dt that is being tested.
Returns
bool
Whether the given dt is a valid session label.'

def is_session(self, dt):

    return (dt in self.schedule.index)
