<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def IsPathSuffix(mod_path, path):
 """Checks whether path is a full path suffix of mod_path. Args: mod_path: Must be an absolute path to a source file. Must not have file extension. path: A relative path. Must not have file extension. Returns: True if path is a full path suffix of mod_path. False otherwise. """

  return (mod_path.endswith(path) and
          (len(mod_path) == len(path) or
           mod_path[:-len(path)].endswith(os.sep)))