Function to return a design document from a given DB
Check whether a design doc contains the specified view