def check_for_directory(self, share_name, directory_name, **kwargs):
return self.connection.exists(share_name, directory_name,<EOL>**kwargs)<EOL>
Check if a directory exists on Azure File Share.

:param share_name: Name of the share.
:type share_name: str
:param directory_name: Name of the directory.
:type directory_name: str
:param kwargs: Optional keyword arguments that
    `FileService.exists()` takes.
:type kwargs: object
:return: True if the file exists, False otherwise.
:rtype: bool