Check login status of services using http POST interface

Hi,

I’ve created a mopidy skill for the virtual assistant mycroft.ai using the http post interface. Everything works great and I’ve hooked into a bunch of mopidy’s features including gmusic and spotify.

Now I want to increase the user friendliness by reporting if a service hasn’t been able to start/login. Is there a command to determine if a service is functional. For example if the spotify username/password is incorrect can I check this in some way?

Thankful for any answers!