Check if node could be looked up before applying style