How to check if file system is mounted?

The setup module that normally runs at the start of the play will return mounts of a system in ansible_mounts (if I remember the var name correctly)

You can use this var to look.

Yes, the is an ansible_mounts fact but I had checked it previously and it doesn’t indicate that the file system is mounted even though I know it is.