Added method for query is leap year.