CLI scripting, test mount prior to copy

I want to automate replication of content from raw folders to Cryptomator, then automate replication to the cloud (ie: rclone or whatever).

On the command line, is there a way I can first test the status of a Cryptomator mount? For example: is-mounted, mount, error log failure.

I’m on MacOS Big Sur, and I do see a post for an automatic mount monitor in another thread, but that’s a bit different from what I’m doing.

I am the only user on my Mac and the drive is under Filevault.

Thanks.