def wf_savedsearch_entity?(id)
      return true if %w[DASHBOARD ALERT MAINTENANCE_WINDOW
                        NOTIFICANT EVENT SOURCE EXTERNAL_LINK AGENT
                        CLOUD_INTEGRATION].include?(id)
      raise Wavefront::Exception::InvalidSavedSearchEntity
    end
def wf_savedsearch_entity?(id)
      return true if %w[DASHBOARD ALERT MAINTENANCE_WINDOW
                        NOTIFICANT EVENT SOURCE EXTERNAL_LINK AGENT
                        CLOUD_INTEGRATION].include?(id)
      raise Wavefront::Exception::InvalidSavedSearchEntity
    end
Ensure the given argument is a valid saved search entity type.

 @param id [String] entity type
 @return true if valid
 @raise Wavefront::Exceptions::InvalidSavedSearchEntity if not
   valid