1   /*
2    * SPDX-FileCopyrightText: none
3    * SPDX-License-Identifier: CC0-1.0
4    */
5   
6   package gov.nist.secauto.metaschema.core.model;
7   
8   public interface IContainer {
9     /**
10     * Identifies if the container allows child instances or not.
11     * <p>
12     * This can be the case if the container has flags or a complex model with at
13     * least a choice, choice group, field, or assembly instance.
14     *
15     * @return {@code true} if there are flags or a model, or {@code false}
16     *         otherwise
17     */
18    boolean hasChildren();
19  }