public static boolean isContainer(short options, short recordId){if(recordId >= EscherContainerRecord.DGG_CONTAINER &&  recordId<= EscherContainerRecord.SOLVER_CONTAINER){return true;} else {if (recordId == EscherTextboxRecord.RECORD_ID) {return false;} else {return ( options & (short) 0x000F ) == (short) 0x000F;}}}
public static bool IsContainer(short options, short recordId){if (recordId >= EscherContainerRecord.DGG_CONTAINER && recordId<= EscherContainerRecord.SOLVER_CONTAINER){return true;}else{if (recordId == EscherTextboxRecord.RECORD_ID){return false;}else{return (options & (short)0x000F) == (short)0x000F;}}}