Check if location != null