Walk me through a code review of this utility function: const isNotNil = (v) => !!v;
Explain whether the implementation matches the function name, identify important JavaScript edge cases, and provide a corrected implementation. For grading, implement the intended predicate in Python: return True for every value except None.
Signature: def is_not_nil(value):
Input/output: Accept any JSON-compatible value and return a boolean.
false only when the input is None.def is_not_nil(value):