<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def round_if_near_integer(a, epsilon=1e-4):
 """ Round a to the nearest integer if that integer is within an epsilon of a. """

    if abs(a - round(a)) <= epsilon:
        return round(a)
    else:
        return a