protected function prepareListLibrary(array &$list)
    {
        foreach ($list as &$item) {
            $item['status'] = empty($item['errors']);
            $item['has_dependencies'] = !empty($item['requires']) || !empty($item['required_by']);
        }
    }