helper function to check if item is in sequence
working with camera
working with camera