original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: Determine if a sub-plugin is supported or not
  
  @param string $type
  @return bool
docstring_tokens: Determine if a sub - plugin is supported or not