Check if a string contains a JSX pragma