<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_subdir(a, b):
 """ Return true if a is a subdirectory of b """

    a, b = map(os.path.abspath, [a, b])

    return os.path.commonpath([a, b]) == b