Added is_port -- but not used at the moment.
Some explanation added.