original_string: public static function defaults_set() {
          list($purposeid, $categoryid) = self::get_defaults(CONTEXT_SYSTEM);
          if (empty($purposeid) || empty($categoryid)) {
              return false;
          }
          return true;
      }
code: public static function defaults_set() {
          list($purposeid, $categoryid) = self::get_defaults(CONTEXT_SYSTEM);
          if (empty($purposeid) || empty($categoryid)) {
              return false;
          }
          return true;
      }
code_tokens: public static function defaults_set ( ) { list ( $ purposeid , $ categoryid ) = self :: get_defaults ( CONTEXT_SYSTEM ) ; if ( empty ( $ purposeid ) || empty ( $ categoryid ) ) { return false ; } return true ; }
docstring: Are data registry defaults set?
  
  At least the system defaults need to be set.
  
  @return bool
docstring_tokens: Are data registry defaults set?