Way to check if device is Bluetooth paired (even if not currently connected)?

We want to know if device is already Bluetooth paired. We can check for this manually in the shell by using `settings list` command and seeing bt/keys as one of the stored properties. However, is there an API to do this? We don't see anything int he settings.c module

Related