public static function defaults_set() {
        list($purposeid, $categoryid) = self::get_defaults(CONTEXT_SYSTEM);
        if (empty($purposeid) || empty($categoryid)) {
            return false;
        }
        return true;
    }
public static function defaults_set() {
        list($purposeid, $categoryid) = self::get_defaults(CONTEXT_SYSTEM);
        if (empty($purposeid) || empty($categoryid)) {
            return false;
        }
        return true;
    }
public static function defaults_set ( ) { list ( $ purposeid , $ categoryid ) = self :: get_defaults ( CONTEXT_SYSTEM ) ; if ( empty ( $ purposeid ) || empty ( $ categoryid ) ) { return false ; } return true ; }
Are data registry defaults set?

At least the system defaults need to be set.

@return bool
Are data registry defaults set?