code: private boolean hasComplexKeys(TabularType pType) {
          List<String> indexes = pType.getIndexNames();
          CompositeType rowType = pType.getRowType();
          for (String index : indexes) {
              if ( ! (rowType.getType(index) instanceof SimpleType)) {
                  return true;
              }
          }
          return false;
      }
docs: Check, whether all keys are simple types or not