Checks if a directory exists on the server.
public fun dirExists(url: String?): Boolean
Use this method to check if the URL exists and is accessible.