verify if the parser can parse embed before calling it