question: public static < T > boolean remove ( Collection < T > collection , T element ) { if ( element == null ) { return false ; } if ( CollectionUtils . isEmpty ( collection ) ) { return false ; } return collection . remove ( element ) ; }
target:  Safe method to remove an element from collection. If either collection is empty or element is null - returns false.