It\'s been a while since I used python (been studying CISCO IOS) so I\'m bit rusty. I have forgotten how to assign a function to an IF statement.
import ipaddres