Can I Anyhow Access Selected Socket In Node Editor Python Support

Can I Anyhow Access Selected Socket In Node Editor Python Support