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