Added IsIn function