public function haveUserLevelsInDatabase($userId, $role)
    {
        if (!is_array($role)) {
            $meta_key = $this->grabPrefixedTableNameFor() . 'user_level';
            $meta_value = User\Roles::getLevelForRole($role);

            return $this->haveUserMetaInDatabase($userId, $meta_key, $meta_value);
        }
        $ids = [];
        foreach ($role as $blogId => $_role) {
            $blogIdAndPrefix = $blogId == 0 ? '' : $blogId . '_';
            $meta_key = $this->grabPrefixedTableNameFor() . $blogIdAndPrefix . 'user_level';
            $meta_value = User\Roles::getLevelForRole($_role);
            $ids[] = $this->haveUserMetaInDatabase($userId, $meta_key, $meta_value);
        }

        return $ids;
    }