Check whether optional is null or not.
null term to accept.
true if null, false otherwise
See Implementation
Check whether optional is null or not.