Here\'s a method to check if an accessibility service is enabled:
public boolean isAccessServiceEnabled(Context context) { String prefString = Settings.Se