/** * Learn whether any known property is a relationship. * * @see MetaProperty#isRelationship() * @return true when at least one of the properties is a relationship */ public boolean hasRelationships() { if (properties == null) { return false; } for (MetaProperty property : this.properties.values()) { if (property.isRelationship()) { return true; } } return false; }