checking hasOwnProperty for _lang