code: def toilPackageDirPath():
      
      result = os.path.dirname(os.path.realpath(__file__))
      assert result.endswith('/toil')
      return result
docs: Returns the absolute path of the directory that corresponds to the top-level toil package.
      The return value is guaranteed to end in '/toil'.