protected function is_valid_assignment_subplugin($type) {
        static $subplugins = null;

        if (is_null($subplugins)) {
            $subplugins = get_plugin_list('assignment');
        }
        return array_key_exists($type, $subplugins);
    }
protected function is_valid_assignment_subplugin($type) {
        static $subplugins = null;

        if (is_null($subplugins)) {
            $subplugins = get_plugin_list('assignment');
        }
        return array_key_exists($type, $subplugins);
    }
protected function is_valid_assignment_subplugin ( $ type ) { static $ subplugins = null ; if ( is_null ( $ subplugins ) ) { $ subplugins = get_plugin_list ( 'assignment' ) ; } return array_key_exists ( $ type , $ subplugins ) ; }
Determine if a sub-plugin is supported or not

@param string $type
@return bool
Determine if a sub - plugin is supported or not