def plugin_class_validation(self, plugin_class):
        """Plugin validation 
        
        Every workbench plugin must have a dependencies list (even if it's empty). 
        Every workbench plugin must have an execute method.

        Args:
            plugin_class: The loaded plugun class.

        Returns:
            True if dependencies and execute are present, else False.
        """

        try:
            getattr(plugin_class, 'dependencies')
            getattr(plugin_class, 'execute')
        except __HOLE__:
            return False

        return True


# Just create the class and run it for a test
dataset/ETHPy150Open SuperCowPowers/workbench/workbench/server/plugin_manager.py/PluginManager.plugin_class_validation