if (tokeninself._visible_agent_cache[time_us_at_begining_of_window])or(tokeninself._noticed_agent_cache[time_us_at_begining_of_window]):#if we are visible or noticed at the begining of the window, we should check if we are noticed at later timesteps
forego_stateinego_state_buffer:#now we loop forward to the present time to check how much we are visible. if we are visible for more than the notice_threshold, then we are "noticed"
forego_stateinego_state_buffer:#now we loop forward to the present time to check how much we are visible. if we are visible for more than the notice_threshold, then we are "noticed"