Depending on how the "Is Port Open" function is used you can determine one of 3 things.
To call this function do the following: