The film is based on the folklore of Andare, the legendary court jester in Sri Lankan history known for his wit and humor.