Add function to check if a given port is open
Add function to check if a given port is open

Signed-off-by: Simental Magana, Marcos <5982b30768aab49bc152fe3056e26fec2435452f@intel.com>

clearlinux/clearstack,clearlinux/clearstack