@return true if an attachment has the given hash exists