def are_datetimes_close(later_datetime, earlier_datetime):
 difference_in_secs = (later_datetime - earlier_datetime).total_seconds()
 return (difference_in_secs < feconf.PROXIMAL_TIMEDELTA_SECS)

def are_datetimes_close ( later_datetime , earlier_datetime ) : difference_in_secs = ( later_datetime - earlier_datetime ) . total_seconds ( ) return ( difference_in_secs < feconf . PROXIMAL_TIMEDELTA_SECS )
given two datetimes .