Toolkit::classHasMethodDeclared() - situation when requested method is not declared at all now is properly handled