Return ``True`` if the container has its path set and it exists,
        ``False`` otherwise.

        :rtype: boolean

def exists(self):
        """
        Return ``True`` if the container has its path set and it exists,
        ``False`` otherwise.

        :rtype: boolean
        """
        return gf.file_exists(self.file_path) or gf.directory_exists(self.file_path)