question: public static boolean isImmutable ( Object function ) { return isImmutableClass ( function . getClass ( ) ) ; }
target:  See if the functional logic is immutable. Logic is stateful if: Has a non-final instance field. Has a final instance field that is not a primitive or a known immutable object.