title: Determine if a lambda expression is stateless or stateful in Java
body: <p>Is there a function which accepts a reference to a lambda expression and returns a boolean saying whether the lambda expression is stateless or not? How can the statefulness of a lambda expression be determined?</p>