added method to check if lang is cached