<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_readable(fp, size=1):
 """ Check if the file-like object is readable. :param fp: file-like object :param size: byte size :return: bool """

    read_size = len(fp.read(size))
    fp.seek(-read_size, 1)
    return read_size == size