To check whether the entered year is leap year or not