[feature] check if port exists