[Debugger] Fixed a bug in SDB's new HasMethod() implementation