check if a item is a syntax in the javascript environment using issyntax using the isKeyword function. checks for most inbuilt functions, objects, and lexical grammer keywords in javascript environment