def contains(self, filename):
return os.path.exists(os.path.join(self.path, filename))<EOL>
Check if directory contains an entry with given filename.

:param filename: filename will be check
:type filename: str
:returns: True if exists, False otherwise.
:rtype: bool