code: public static boolean isStructuredType(Type type) {
          MetaType metaType = type.getMetaType();
          return metaType == MetaType.ENTITY || metaType == MetaType.COMPLEX;
      }
docs: Returns {@code true} if the OData type is a structured type, {@code false} otherwise.
  
  @param type The OData type.
  @return {@code true} if the OData type is a structured type, {@code false} otherwise.