bool is_dir ( string $filename )
Tells whether the given filename is a directory.
Returns TRUE if the filename exists and is a directory, FALSE otherwise.