code: private boolean validateAtlasRelationshipType(AtlasRelationshipType type) {
          boolean isValid = false;
          try {
              validateAtlasRelationshipDef(type.getRelationshipDef());
              isValid = true;
          } catch (AtlasBaseException abe) {
              LOG.error("Validation error for AtlasRelationshipType", abe);
          }
          return isValid;
      }
docs: Validate the fields in the the RelationshipType are consistent with respect to themselves.
  @param type
  @throws AtlasBaseException