Use valid form of checking for captions