Returns whether or not the given port number is valid for the range.
true if the port is valid for the range, otherwise false