static boolean isSelected ( IChemObject object , RendererModel model ) { if ( object . getProperty ( StandardGenerator . HIGHLIGHT_COLOR ) != null ) return true ; if ( model . getSelection ( ) != null ) return model . getSelection ( ) . contains ( object ) ; return false ; }
Determine if an object is selected .