Checks whether the
method
of this instance is set.
false if the method is null. Otherwise, it returns true.