The Oscar Health member app records visit times for each member. Given a member's visit history and a proposed check-in time, determine whether the member can check in. A check-in is allowed only when the member has no earlier visit or at least 15 minutes have elapsed since their most recent visit.
Implement can_check_in(visit_times, user_id, check_in_time), where visit_times is a dictionary mapping user IDs to sorted lists of integer timestamps, measured in minutes. Return a Boolean. Consider only visits at or before check_in_time; future visits must not affect the result. A member may check in exactly 15 minutes after the previous visit.
def can_check_in(visit_times, user_id, check_in_time):