io_dir_exists [function]

io_dir_exists( string dir )

checks if directory exists and is accessible by the process at the moment, returns true on success, false otherwise