helper functions for plugin status