This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
...but it should return "True" of "False"
Works for me. Could you attach test case to reproduce?
I'm sorry, I cannot reproduce it any more after IDE restart -> Invalid.
Closing.