check_static_ip updated to use helper method