default boolean containsSubEntityAttribute(final String propertyField){
  final List<String> subEntityAttributes=getSubEntityAttributes();
  if (subEntityAttributes.contains(propertyField)) {
    return true;
  }
  for (  final String attribute : subEntityAttributes) {
    final String[] graph=attribute.split("\\" + SUB_ATTRIBUTE_SEPERATOR);
    for (    final String subAttribute : graph) {
      if (subAttribute.equalsIgnoreCase(propertyField)) {
        return true;
      }
    }
  }
  return false;
}

default boolean containsSubEntityAttribute ( final String propertyField ) { final List < String > subEntityAttributes = getSubEntityAttributes ( ) ; if ( subEntityAttributes . contains ( propertyField ) ) { return true ; } for ( final String attribute : subEntityAttributes ) { final String [ ] graph = attribute . split ( "\\" + SUB_ATTRIBUTE_SEPERATOR ) ; for ( final String subAttribute : graph ) { if ( subAttribute . equalsIgnoreCase ( propertyField ) ) { return true ; } } } return false ; }
contains the sub entity the given field .
