code: func (t Type) IsArray() bool {
  	if t.IsJSONType() {
  		return false
  	}
  	return t.TypeString() == arrayType || strings.HasSuffix(t.TypeString(), "[]")
  }
docs: // IsArray checks if this type is an Array
  // see specs at http://docs.raml.org/specs/1.0/#raml-10-spec-array-types