Check if node id has been given