Simplifies the condition for detecting flash transfer info in markdownElement by removing redundant undefined check.