Added a contains function to libk