BASIC : How to check if a folder exists

In Linux OS, how can we check if folder name file:///home/linux_user/FolderA exists ?

Please merge the two questions and delete one!

The edit link allows to do that.

Function Dir() or function FileExists()