[#1011][Kashish,Shweta] adding a method in checker which tells if the number is valid at given location.