is_folder()
Whether the target is a folder or not.
If given path ends with a path delimiter, true will be returned wtihout checking file system. Therefor a wrong result may be returned.
boolean