def _has_only_files(local_folder):
return not any(os.path.isdir(os.path.join(local_folder, entry))<EOL>for entry in os.listdir(local_folder))<EOL>
Return whether a folder contains only files. This will be False if the
folder contains any subdirectories.

:param local_folder: full path to the local folder
:type local_folder: string
:returns: True if the folder contains only files
:rtype: bool