'Generic method that decides is a plugin is valid
based on a predefined set of checks.'

def _verifyPlugin(self, new_plugin):

    try:
        assert (new_plugin.id is not None)
        assert (new_plugin.version is not None)
        assert (new_plugin.name is not None)
        assert (new_plugin.framework_version is not None)
    except (AssertionError, KeyError):
        return False
    return True
