@staticmethod
    def contains_file(directory, file_path):
        return os.path.normcase(os.path.normpath(file_path)).startswith(
            os.path.normcase(os.path.normpath(directory))
        )
Checks if a directory contains specified file
dataset/ETHPy150Open spywhere/Javatar/utils/utils.py/Utils.contains_file