Add contains method of LC class. Fixed syntax.