Attempts to eject the volume mounted at the given path.
- macOS 10.6+
The URL of the volume to eject.
If the operation fails, this error contains more information about the failure.
YES if the volume was unmounted and ejected successfully, otherwise
NO, for example, if the volume is not ejectable.
It is safe to call this method from any thread of your app.