def METHOD_NAME(self, port=None):
    """
    Check whether the port is released after stopping gpfdist
    @return: True or False
    """
    if port is None:
        port = self.port
    # deal with the escape issue separately for localhost and remote one
    if self.host in ('127.0.0.1',socket.gethostbyname(socket.gethostname()),socket.gethostname(),'localhost'):
        cmdStr = "ss -an |grep %s"%port
    else:
        cmdStr = 'gpssh -h %s -e "ss -an |grep %s"'%(self.host, port)
    cmd = Command(self.name, cmdStr, self.ctxt, self.host)
    cmd.run()
    results = cmd.get_results()
    return (not results.rc)