def _get_is_folder(self):

        return os.path.exists(self.path) and os.path.isdir(self.path)


# Test class.
a simple iterator over all entries in a file.
dataset/ETHPy150Open enthought/traits/traits/tests/test_protocols_usage.py/File._get_is_folder--crossover with--dataset/ETHPy150Open CGATOxford/cgat/CGAT/GTF.py/track_iterator