public boolean hasChildOfType(short recordId) {return _childRecords.stream().anyMatch(r -> r.getRecordId() == recordId);}

public boolean hasChildOfType ( short recordId ) { return _childRecords . stream ( ) . anyMatch ( r -> r . getRecordId ( ) == recordId ) ; }
public bool HasChildOfType(short recordId){for (IEnumerator iterator = ChildRecords.GetEnumerator(); iterator.MoveNext(); ){EscherRecord r = (EscherRecord)iterator.Current;if (r.RecordId == recordId){return true;}}return false;}
