code: public boolean validate(Database database) {
          int maxParameters = this.getMaxParameters(database);
          int minParameters = this.getMinParameters(database);
  
          if (parameters.size() > maxParameters) {
              throw new UnexpectedLiquibaseException("Type "+getClass()+" doesn't support "+ maxParameters+" parameters");
          }
          if (parameters.size() < minParameters) {
              throw new UnexpectedLiquibaseException("Type "+getClass()+" requires "+ minParameters+" parameters");
          }
  
          return true;
      }
docs: Validates the correct state of this data type against a given database.
  @param database the database to validate against
  @return true if the current settings for this data type can be implemented on the given database, false otherwise