Improved conditional for codefromstrings config check